1
0
Fork 0
mirror of synced 2024-05-20 12:42:39 +12:00

Removed globals from shared controllers

This commit is contained in:
Eldad Fux 2020-07-01 08:08:49 +03:00
parent fd90a57ece
commit 78c0566028
3 changed files with 0 additions and 6 deletions

View file

@ -5,8 +5,6 @@ use Utopia\Exception;
use Utopia\Abuse\Abuse;
use Utopia\Abuse\Adapters\TimeLimit;
global $utopia, $request, $response, $register, $user, $project;
App::init(function ($utopia, $request, $response, $register, $user, $project) {
$route = $utopia->match($request);

View file

@ -1,7 +1,5 @@
<?php
global $utopia, $response, $request, $layout, $projectDB;
use Utopia\App;
use Utopia\View;
use Utopia\Config\Config;

View file

@ -1,7 +1,5 @@
<?php
global $utopia, $response, $request, $layout;
use Utopia\App;
use Utopia\View;
use Utopia\Config\Config;