summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2010-12-19 13:15:08 +0000
committerfisharebest <fisharebest@gmail.com>2010-12-19 13:15:08 +0000
commit0f62dfe700776dd8a63a9b1d47b2150a5b599c6a (patch)
tree75f60a7565d2ae52839844ba64a4caf16133362d /modules
parent18b2e644664b4e3aa1a187bc3d7698da93de9b89 (diff)
downloadwebtrees-0f62dfe700776dd8a63a9b1d47b2150a5b599c6a.tar.gz
webtrees-0f62dfe700776dd8a63a9b1d47b2150a5b599c6a.tar.bz2
webtrees-0f62dfe700776dd8a63a9b1d47b2150a5b599c6a.zip
Rename module's "admin" options to begin with "admin". This will allow us to identify them easily.
Diffstat (limited to 'modules')
-rw-r--r--modules/batch_update/admin_batch_update.php (renamed from modules/batch_update/batch_update.php)0
-rw-r--r--modules/batch_update/module.php4
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/batch_update/batch_update.php b/modules/batch_update/admin_batch_update.php
index a900db0fd8..a900db0fd8 100644
--- a/modules/batch_update/batch_update.php
+++ b/modules/batch_update/admin_batch_update.php
diff --git a/modules/batch_update/module.php b/modules/batch_update/module.php
index f706dc9ac5..a16f848a77 100644
--- a/modules/batch_update/module.php
+++ b/modules/batch_update/module.php
@@ -48,7 +48,7 @@ class batch_update_WT_Module extends WT_Module implements WT_Module_Config{
// Extend WT_Module
public function modAction($mod_action) {
switch($mod_action) {
- case 'batch_update':
+ case 'admin_batch_update':
// TODO: these files should be methods in this class
require WT_ROOT.'modules/'.$this->getName().'/'.$mod_action.'.php';
$mod=new batch_update;
@@ -59,6 +59,6 @@ class batch_update_WT_Module extends WT_Module implements WT_Module_Config{
// Implement WT_Module_Config
public function getConfigLink() {
- return 'module.php?mod='.$this->getName().'&amp;mod_action=batch_update';
+ return 'module.php?mod='.$this->getName().'&amp;mod_action=admin_batch_update';
}
}