mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:10:11 +00:00
Move Authentication methods to class "Authentication"
This commit is contained in:
parent
5bb63e59e0
commit
18a3d18ba6
4 changed files with 219 additions and 220 deletions
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\Authentication;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\Logger;
|
||||
|
@ -20,7 +21,7 @@ use Friendica\Util\XML;
|
|||
|
||||
function dfrn_poll_init(App $a)
|
||||
{
|
||||
Login::sessionAuth();
|
||||
Authentication::sessionAuth();
|
||||
|
||||
$dfrn_id = $_GET['dfrn_id'] ?? '';
|
||||
$type = ($_GET['type'] ?? '') ?: 'data';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue