summaryrefslogtreecommitdiffstats
path: root/apps/files/ajax/rename.php
diff options
context:
space:
mode:
authorMorris Jobke <morris.jobke@gmail.com>2013-05-12 13:02:01 +0200
committerMorris Jobke <morris.jobke@gmail.com>2013-05-12 13:02:01 +0200
commite2bd32323d30cb5da7b2e1433d09effd33ef987d (patch)
tree047ed53d3c1f38c164b267d3f1dfc67f4d686bd1 /apps/files/ajax/rename.php
parentb777c0fd7501c59f0389c34303e98867e94cd20b (diff)
downloadnextcloud-server-e2bd32323d30cb5da7b2e1433d09effd33ef987d.tar.gz
nextcloud-server-e2bd32323d30cb5da7b2e1433d09effd33ef987d.zip
[files] fix mock creation and remove hardcoded 'require' statement
Diffstat (limited to 'apps/files/ajax/rename.php')
-rw-r--r--apps/files/ajax/rename.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/files/ajax/rename.php b/apps/files/ajax/rename.php
index d9ba68428ee..f4551858283 100644
--- a/apps/files/ajax/rename.php
+++ b/apps/files/ajax/rename.php
@@ -21,8 +21,6 @@
*
*/
-require_once realpath( dirname(__FILE__).'/../lib/app.php' );
-
OCP\JSON::checkLoggedIn();
OCP\JSON::callCheck();