mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-08 22:24:26 +02:00
Refactor namespaces
- Remove unused use statements - Add required use statements - Escape global classes
This commit is contained in:
parent
070aa016e0
commit
cb3f09ae4f
48 changed files with 7 additions and 81 deletions
|
@ -27,7 +27,7 @@ class LegacyModule extends BaseModule
|
|||
public static function setModuleFile($file_path)
|
||||
{
|
||||
if (!is_readable($file_path)) {
|
||||
throw new Exception(Core\L10n::t('Legacy module file not found: %s', $file_path));
|
||||
throw new \Exception(Core\L10n::t('Legacy module file not found: %s', $file_path));
|
||||
}
|
||||
|
||||
self::$moduleName = basename($file_path, '.php');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue