Move Authentication methods to class "Authentication"

This commit is contained in:
nupplaPhil 2019-12-03 21:18:26 +01:00
parent 5bb63e59e0
commit 18a3d18ba6
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
4 changed files with 219 additions and 220 deletions

View file

@ -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';