diff --git a/apps/calendar/ajax/share/activation.php b/apps/calendar/ajax/share/activation.php
index 5526e5230f49ff487b58b8275ce37ec4a31b4628..7d6b8fcb16ec2daf6c478ac5e19bac077b362d97 100644
--- a/apps/calendar/ajax/share/activation.php
+++ b/apps/calendar/ajax/share/activation.php
@@ -5,8 +5,7 @@
  * later.
  * See the COPYING-README file.
  */
-require_once('../../../../lib/base.php');
 $id = strip_tags($_GET['id']);
 $activation = strip_tags($_GET['activation']);
 OC_Calendar_Share::set_active(OCP\USER::getUser(), $id, $activation);
-OCP\JSON::success();
\ No newline at end of file
+OCP\JSON::success();