Move login() to Login module
- Move nuke_session to include/security - Remove mod/login
This commit is contained in:
parent
d328345815
commit
2dc598ed5b
14 changed files with 33 additions and 122 deletions
|
|
@ -6,6 +6,7 @@ use Friendica\Core\PConfig;
|
|||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBM;
|
||||
use Friendica\Model\Group;
|
||||
use Friendica\Module\Login;
|
||||
|
||||
require_once('include/contact_widgets.php');
|
||||
require_once('include/redir.php');
|
||||
|
|
@ -102,7 +103,7 @@ function profile_content(App $a, $update = 0) {
|
|||
$hashtags = (x($_GET, 'tag') ? $_GET['tag'] : '');
|
||||
|
||||
if (Config::get('system','block_public') && (! local_user()) && (! remote_user())) {
|
||||
return login();
|
||||
return Login::form();
|
||||
}
|
||||
|
||||
require_once("include/bbcode.php");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue