page: do not load sidebar on public
parent
05e55e27ec
commit
efd0a0e97a
|
@ -2,7 +2,6 @@
|
|||
|
||||
namespace OCA\Memories\Controller;
|
||||
|
||||
use OCA\Files\Event\LoadSidebar;
|
||||
use OCA\Memories\Db\TimelineQuery;
|
||||
use OCP\App\IAppManager;
|
||||
use OCP\AppFramework\Controller;
|
||||
|
@ -57,7 +56,6 @@ class PublicAlbumController extends Controller
|
|||
|
||||
// Scripts
|
||||
Util::addScript($this->appName, 'memories-main');
|
||||
$this->eventDispatcher->dispatchTyped(new LoadSidebar());
|
||||
PageController::provideCommonInitialState($this->initialState);
|
||||
|
||||
$response = new PublicTemplateResponse($this->appName, 'main');
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
namespace OCA\Memories\Controller;
|
||||
|
||||
use OCA\Files\Event\LoadSidebar;
|
||||
use OCP\App\IAppManager;
|
||||
use OCP\AppFramework\AuthPublicShareController;
|
||||
use OCP\AppFramework\Http\Template\PublicTemplateResponse;
|
||||
|
@ -100,7 +99,6 @@ class PublicController extends AuthPublicShareController
|
|||
|
||||
// Scripts
|
||||
Util::addScript($this->appName, 'memories-main');
|
||||
$this->eventDispatcher->dispatchTyped(new LoadSidebar());
|
||||
PageController::provideCommonInitialState($this->initialState);
|
||||
|
||||
// Share info
|
||||
|
|
Loading…
Reference in New Issue