Move Cookie to own class (with tests)
Move Authentication to App namespace
This commit is contained in:
parent
c45b6d309b
commit
54392fab81
16 changed files with 393 additions and 112 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
use Friendica\App;
|
||||
use Friendica\BaseObject;
|
||||
use Friendica\Core\Authentication;
|
||||
use Friendica\App\Authentication;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\Logger;
|
||||
|
@ -24,7 +24,7 @@ function dfrn_poll_init(App $a)
|
|||
{
|
||||
/** @var Authentication $authentication */
|
||||
$authentication = BaseObject::getClass(Authentication::class);
|
||||
$authentication->withSession($a, $_COOKIE);
|
||||
$authentication->withSession($a);
|
||||
|
||||
$dfrn_id = $_GET['dfrn_id'] ?? '';
|
||||
$type = ($_GET['type'] ?? '') ?: 'data';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue