diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-05-19 15:22:21 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-05-19 15:22:21 +0200 |
commit | d4072c82dd93757cfe2dcc6d98bb547ab6e9c520 (patch) | |
tree | 897ab03a6a4c2b51b5aa91d05eeeb4d4b5206fe1 /apps | |
parent | 07fa8da2785c8846133fc756bec85e329a888537 (diff) | |
download | nextcloud-server-d4072c82dd93757cfe2dcc6d98bb547ab6e9c520.tar.gz nextcloud-server-d4072c82dd93757cfe2dcc6d98bb547ab6e9c520.zip |
some fixes for contacts, gallery and openid
Diffstat (limited to 'apps')
-rw-r--r-- | apps/contacts/ajax/oc_photo.php | 3 | ||||
-rw-r--r-- | apps/gallery/lib/album.php | 2 | ||||
-rw-r--r-- | apps/user_openid/user.php | 1 |
3 files changed, 0 insertions, 6 deletions
diff --git a/apps/contacts/ajax/oc_photo.php b/apps/contacts/ajax/oc_photo.php index 0fd978e325a..085d2710f5f 100644 --- a/apps/contacts/ajax/oc_photo.php +++ b/apps/contacts/ajax/oc_photo.php @@ -19,9 +19,6 @@ * License along with this library. If not, see <http://www.gnu.org/licenses/>. * */ -// Init owncloud -require_once('lib/base.php'); - // Check if we are a user // Firefox and Konqueror tries to download application/json for me. --Arthur OCP\JSON::setContentTypeHeader('text/plain'); diff --git a/apps/gallery/lib/album.php b/apps/gallery/lib/album.php index 27d40cdb91f..5f962f12f12 100644 --- a/apps/gallery/lib/album.php +++ b/apps/gallery/lib/album.php @@ -21,8 +21,6 @@ * */ -require_once('base.php'); - class OC_Gallery_Album { public static function create($owner, $name, $path){ $stmt = OCP\DB::prepare('INSERT INTO *PREFIX*gallery_albums (uid_owner, album_name, album_path, parent_path) VALUES (?, ?, ?, ?)'); diff --git a/apps/user_openid/user.php b/apps/user_openid/user.php index 9f751da5edb..392424795f8 100644 --- a/apps/user_openid/user.php +++ b/apps/user_openid/user.php @@ -36,7 +36,6 @@ if($USERNAME=='' and isset($_SERVER['PHP_AUTH_USER'])){ $RUNTIME_NOAPPS=true; $RUNTIME_NOAPPS=false; -require_once '../../lib/base.php'; OCP\App::checkAppEnabled('user_openid'); if(!OCP\User::userExists($USERNAME)){ |