From 64cbfbadd661a57279a936ada33769433f33488b Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Tue, 17 Apr 2012 19:31:29 +0200 Subject: [PATCH] remove the require_once lib base from all (or nearly all) files --- addBm.php | 2 +- ajax/addBookmark.php | 2 +- ajax/delBookmark.php | 2 +- ajax/editBookmark.php | 2 +- ajax/recordClick.php | 2 +- ajax/updateList.php | 2 +- index.php | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/addBm.php b/addBm.php index 861b6772..27e01bb3 100644 --- a/addBm.php +++ b/addBm.php @@ -21,7 +21,7 @@ * */ -require_once('../../lib/base.php'); + // Check if we are a user OC_Util::checkLoggedIn(); diff --git a/ajax/addBookmark.php b/ajax/addBookmark.php index 8cda7f0f..4daed58a 100644 --- a/ajax/addBookmark.php +++ b/ajax/addBookmark.php @@ -24,7 +24,7 @@ //no apps or filesystem $RUNTIME_NOSETUPFS=true; -require_once('../../../lib/base.php'); + // Check if we are a user OC_JSON::checkLoggedIn(); diff --git a/ajax/delBookmark.php b/ajax/delBookmark.php index 4aef86e7..655d9f82 100644 --- a/ajax/delBookmark.php +++ b/ajax/delBookmark.php @@ -24,7 +24,7 @@ //no apps or filesystem $RUNTIME_NOSETUPFS=true; -require_once('../../../lib/base.php'); + // Check if we are a user OC_JSON::checkLoggedIn(); diff --git a/ajax/editBookmark.php b/ajax/editBookmark.php index 35f30ebc..a834cd21 100644 --- a/ajax/editBookmark.php +++ b/ajax/editBookmark.php @@ -24,7 +24,7 @@ //no apps or filesystem $RUNTIME_NOSETUPFS=true; -require_once('../../../lib/base.php'); + // Check if we are a user OC_JSON::checkLoggedIn(); diff --git a/ajax/recordClick.php b/ajax/recordClick.php index e6fdfe04..a542f636 100644 --- a/ajax/recordClick.php +++ b/ajax/recordClick.php @@ -24,7 +24,7 @@ //no apps or filesystem $RUNTIME_NOSETUPFS=true; -require_once('../../../lib/base.php'); + // Check if we are a user OC_JSON::checkLoggedIn(); diff --git a/ajax/updateList.php b/ajax/updateList.php index 487e0d29..6aa951bb 100644 --- a/ajax/updateList.php +++ b/ajax/updateList.php @@ -25,7 +25,7 @@ //no apps or filesystem $RUNTIME_NOSETUPFS=true; -require_once('../../../lib/base.php'); + // Check if we are a user OC_JSON::checkLoggedIn(); diff --git a/index.php b/index.php index 50fea3fd..4d604a4f 100644 --- a/index.php +++ b/index.php @@ -21,7 +21,7 @@ * */ -require_once('../../lib/base.php'); + // Check if we are a user OC_Util::checkLoggedIn();