From 5dc899f004c01dfd550aba47b77545c3bfbaa9e1 Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Mon, 10 Jun 2013 10:23:28 +1200 Subject: [PATCH] MDL-40100 cache: removed unneeded includes from add instance forms --- cache/stores/file/addinstanceform.php | 1 - cache/stores/memcache/addinstanceform.php | 1 - cache/stores/mongodb/addinstanceform.php | 1 - 3 files changed, 3 deletions(-) diff --git a/cache/stores/file/addinstanceform.php b/cache/stores/file/addinstanceform.php index 18eb3e49b7c..2828c3c5617 100644 --- a/cache/stores/file/addinstanceform.php +++ b/cache/stores/file/addinstanceform.php @@ -27,7 +27,6 @@ */ require_once($CFG->dirroot.'/cache/forms.php'); -require_once($CFG->dirroot.'/cache/stores/file/lib.php'); /** * Form for adding a file instance. diff --git a/cache/stores/memcache/addinstanceform.php b/cache/stores/memcache/addinstanceform.php index edd55d7eca6..984966a8b56 100644 --- a/cache/stores/memcache/addinstanceform.php +++ b/cache/stores/memcache/addinstanceform.php @@ -27,7 +27,6 @@ defined('MOODLE_INTERNAL') || die(); require_once($CFG->dirroot.'/cache/forms.php'); -require_once($CFG->dirroot.'/cache/stores/memcached/lib.php'); /** * Form for adding a memcache instance. diff --git a/cache/stores/mongodb/addinstanceform.php b/cache/stores/mongodb/addinstanceform.php index 1b2b8c7d123..ada3220c0aa 100644 --- a/cache/stores/mongodb/addinstanceform.php +++ b/cache/stores/mongodb/addinstanceform.php @@ -35,7 +35,6 @@ defined('MOODLE_INTERNAL') || die(); // Include the necessary evils. require_once($CFG->dirroot.'/cache/forms.php'); -require_once($CFG->dirroot.'/cache/stores/mongodb/lib.php'); /** * The form to add an instance of the MongoDB store to the system.