X-Git-Url: https://git.cweiske.de/grauphel.git/blobdiff_plain/48f040f9aac805fb80df4d4bde649c5e36353261..95103edfeeaf1bc750369ec35346fb53225af83b:/controller/guicontroller.php diff --git a/controller/guicontroller.php b/controller/guicontroller.php index f3fce6b..79c6447 100644 --- a/controller/guicontroller.php +++ b/controller/guicontroller.php @@ -29,13 +29,13 @@ use \OCP\AppFramework\Http\TemplateResponse; */ class GuiController extends Controller { - /** - * constructor of the controller + /** + * constructor of the controller * - * @param string $appName Name of the app - * @param IRequest $request Instance of the request - */ - public function __construct($appName, \OCP\IRequest $request, $user, $urlGen) + * @param string $appName Name of the app + * @param IRequest $request Instance of the request + */ + public function __construct($appName, \OCP\IRequest $request, $user, $urlGen) { parent::__construct($appName, $request); $this->user = $user; @@ -48,8 +48,11 @@ class GuiController extends Controller /** * Main page / * + * Tomdroid wants this to be a public page. Sync fails otherwise. + * * @NoAdminRequired * @NoCSRFRequired + * @PublicPage */ public function index() {