"log" is replaced with the corresponding logging functions
This commit is contained in:
parent
fd078ee0e2
commit
0bf6612ea3
31 changed files with 72 additions and 72 deletions
|
@ -32,7 +32,7 @@ function planets_install() {
|
|||
Hook::register('addon_settings', 'addon/planets/planets.php', 'planets_settings');
|
||||
Hook::register('addon_settings_post', 'addon/planets/planets.php', 'planets_settings_post');
|
||||
|
||||
Logger::log("installed planets");
|
||||
Logger::notice("installed planets");
|
||||
}
|
||||
|
||||
function planets_post_hook($a, &$item) {
|
||||
|
@ -46,7 +46,7 @@ function planets_post_hook($a, &$item) {
|
|||
*
|
||||
*/
|
||||
|
||||
Logger::log('planets invoked');
|
||||
Logger::notice('planets invoked');
|
||||
|
||||
if(! local_user()) /* non-zero if this is a logged in user of this system */
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue