mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
"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
|
@ -44,7 +44,7 @@ function randplace_install() {
|
|||
Hook::register('addon_settings', 'addon/randplace/randplace.php', 'randplace_settings');
|
||||
Hook::register('addon_settings_post', 'addon/randplace/randplace.php', 'randplace_settings_post');
|
||||
|
||||
Logger::log("installed randplace");
|
||||
Logger::notice("installed randplace");
|
||||
}
|
||||
|
||||
|
||||
|
@ -58,7 +58,7 @@ function randplace_uninstall() {
|
|||
*
|
||||
*/
|
||||
|
||||
Logger::log("removed randplace");
|
||||
Logger::notice("removed randplace");
|
||||
}
|
||||
|
||||
|
||||
|
@ -74,7 +74,7 @@ function randplace_post_hook($a, &$item) {
|
|||
*
|
||||
*/
|
||||
|
||||
Logger::log('randplace invoked');
|
||||
Logger::notice('randplace 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