"log" is replaced with the corresponding logging functions

This commit is contained in:
Michael 2021-10-21 06:04:27 +00:00
parent fd078ee0e2
commit 0bf6612ea3
31 changed files with 72 additions and 72 deletions

View file

@ -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;