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
|
|
@ -4,6 +4,7 @@ use Friendica\App;
|
|||
use Friendica\Core\NotificationsManager;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBM;
|
||||
use Friendica\Module\Login;
|
||||
|
||||
function notify_init(App $a) {
|
||||
if (! local_user()) {
|
||||
|
|
@ -45,7 +46,7 @@ function notify_init(App $a) {
|
|||
|
||||
function notify_content(App $a) {
|
||||
if (! local_user()) {
|
||||
return login();
|
||||
return Login::form();
|
||||
}
|
||||
|
||||
$nm = new NotificationsManager();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue