mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 04:20:49 +08:00
staff message add permission
This commit is contained in:
@@ -11,7 +11,7 @@ class Plugin
|
||||
$this->bootPlugins();
|
||||
}
|
||||
|
||||
public function enabled($name): bool
|
||||
public static function enabled($name): bool
|
||||
{
|
||||
return !empty(self::$providers[$name]['providers']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user