Fix EOL and EOF in Admin modules
This commit is contained in:
parent
2a035b9b2f
commit
92b415bc36
19 changed files with 1770 additions and 1760 deletions
|
@ -39,6 +39,7 @@ class Site extends BaseAdminModule
|
|||
}
|
||||
|
||||
// relocate
|
||||
// @TODO This file could benefit from moving this feature away in a Module\Admin\Relocate class for example
|
||||
if (!empty($_POST['relocate']) && !empty($_POST['relocate_url']) && $_POST['relocate_url'] != "") {
|
||||
$new_url = $_POST['relocate_url'];
|
||||
$new_url = rtrim($new_url, "/");
|
||||
|
|
|
@ -7,8 +7,17 @@ use Friendica\Core\Addon;
|
|||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBA;
|
||||
|
||||
/**
|
||||
* This abstract module is meant to be extended by all modules that are reserved to administrator users.
|
||||
*
|
||||
* It performs a blanket permission check in all the module methods as long as the relevant `parent::method()` is
|
||||
* called in the inheriting module.
|
||||
*
|
||||
* Additionally, it puts together the administration page aside with all the administration links.
|
||||
*
|
||||
* @package Friendica\Module
|
||||
*/
|
||||
abstract class BaseAdminModule extends BaseModule
|
||||
{
|
||||
public static function post()
|
||||
|
|
Loading…
Reference in a new issue