aboutsummaryrefslogtreecommitdiffstats
path: root/apps/contacts/ajax
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-05-03 14:55:48 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-05-03 16:01:40 +0200
commit5be9084c73a0ae4e04b2c85cca5b8fe7c98d3ebb (patch)
treedd4a0be65831e2e9dd69ce7ede931aaf59d58b95 /apps/contacts/ajax
parentcbee0d31286ce9117f84fab4570b2d56292f4b98 (diff)
downloadnextcloud-server-5be9084c73a0ae4e04b2c85cca5b8fe7c98d3ebb.tar.gz
nextcloud-server-5be9084c73a0ae4e04b2c85cca5b8fe7c98d3ebb.zip
Contacts: Fixed paths in import.
Diffstat (limited to 'apps/contacts/ajax')
-rwxr-xr-xapps/contacts/ajax/importaddressbook.php1
-rwxr-xr-xapps/contacts/ajax/uploadimport.php2
2 files changed, 0 insertions, 3 deletions
diff --git a/apps/contacts/ajax/importaddressbook.php b/apps/contacts/ajax/importaddressbook.php
index bc02e814f5b..66cfa4f8af4 100755
--- a/apps/contacts/ajax/importaddressbook.php
+++ b/apps/contacts/ajax/importaddressbook.php
@@ -6,7 +6,6 @@
* See the COPYING-README file.
*/
-require_once('../../../lib/base.php');
OCP\JSON::checkLoggedIn();
OCP\App::checkAppEnabled('contacts');
$upload_max_filesize = OCP\Util::computerFileSize(ini_get('upload_max_filesize'));
diff --git a/apps/contacts/ajax/uploadimport.php b/apps/contacts/ajax/uploadimport.php
index 947d4670a29..99386516f50 100755
--- a/apps/contacts/ajax/uploadimport.php
+++ b/apps/contacts/ajax/uploadimport.php
@@ -19,8 +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
OCP\JSON::checkLoggedIn();