Skip to content

Commit

Permalink
Coding standards
Browse files Browse the repository at this point in the history
  • Loading branch information
xurizaemon committed Mar 26, 2017
1 parent 20ecf98 commit 6afdb81
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions showallthehooks.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* @file
*
* Show all hooks in CiviCRM. This file contains debug code and generator code.
*/

require_once 'showallthehooks.hooks.php';

/**
Expand Down Expand Up @@ -126,9 +132,8 @@ function _showallthehooks_wp_show_notices($args) {
$messages[] = "{$message['name']}: {$message['param']}";
}
$message = '<ul><li>' . implode('</li><li>', $messages) . '</li></ul>';
// $message = print_r($_SESSION['showallthehooks_messages'], 1);
}
print <<<EOT
<div class="info notice">{$message}</div>
EOT;
}
}

0 comments on commit 6afdb81

Please sign in to comment.