diff options
Diffstat (limited to 'apps/gallery/index.php')
-rw-r--r-- | apps/gallery/index.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/gallery/index.php b/apps/gallery/index.php index e47fb3db5d6..a9fe200c4e4 100644 --- a/apps/gallery/index.php +++ b/apps/gallery/index.php @@ -27,10 +27,6 @@ OCP\User::checkLoggedIn(); OCP\App::checkAppEnabled('gallery'); OCP\App::setActiveNavigationEntry( 'gallery_index' ); -if (!file_exists(OCP\Config::getSystemValue("datadirectory").'/'. OCP\USER::getUser() .'/gallery')) { - mkdir(OCP\Config::getSystemValue("datadirectory").'/'. OCP\USER::getUser() .'/gallery'); -} - if (!isset($_GET['view'])) { $result = OC_Gallery_Album::find(OCP\USER::getUser()); |