mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
staff message add permission
This commit is contained in:
@@ -32,7 +32,7 @@ class Hook
|
||||
public function applyFilter($name, $value = '')
|
||||
{
|
||||
if (!isset(self::$callbacks[$name])) {
|
||||
do_log("No this hook: $name");
|
||||
do_log("No this hook: $name", 'debug');
|
||||
return $value;
|
||||
}
|
||||
$args = func_get_args();
|
||||
@@ -59,7 +59,7 @@ class Hook
|
||||
public function doAction($name, $value = '')
|
||||
{
|
||||
if (!isset(self::$callbacks[$name])) {
|
||||
do_log("No this hook: $name");
|
||||
do_log("No this hook: $name", 'debug');
|
||||
return;
|
||||
}
|
||||
$args = func_get_args();
|
||||
|
||||
Reference in New Issue
Block a user