aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-21 01:36:35 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-21 01:36:35 +0000
commitbe812b46692dc21dc39932941f421aba32d59b7c (patch)
treeae1250cb09e7039dcd8947c0325c1e31c074d88b
parentdee67e1d518894b75d1f6936eab6aca26d5bfa40 (diff)
downloadelgg-be812b46692dc21dc39932941f421aba32d59b7c.tar.gz
elgg-be812b46692dc21dc39932941f421aba32d59b7c.tar.bz2
Fixes #2452. Removed the first admin installation notice. It was just a reminder to his "save" on the simple plugins screen. This is pretty obvious.
git-svn-id: http://code.elgg.org/elgg/trunk@8380 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--actions/admin/plugins/activate.php2
-rw-r--r--actions/admin/plugins/activate_all.php2
-rw-r--r--actions/admin/plugins/deactivate.php2
-rw-r--r--actions/admin/plugins/deactivate_all.php2
-rw-r--r--actions/admin/plugins/set_priority.php2
-rw-r--r--actions/admin/plugins/simple_update_states.php1
-rw-r--r--install/ElggInstaller.php4
-rw-r--r--languages/en.php2
8 files changed, 0 insertions, 17 deletions
diff --git a/actions/admin/plugins/activate.php b/actions/admin/plugins/activate.php
index 7a55cb7bb..822d09f43 100644
--- a/actions/admin/plugins/activate.php
+++ b/actions/admin/plugins/activate.php
@@ -32,8 +32,6 @@ foreach ($plugin_guids as $guid) {
}
}
-elgg_delete_admin_notice('first_installation_plugin_reminder');
-
// don't regenerate the simplecache because the plugin won't be
// loaded until next run. Just invalidate and let it regnerate as needed
elgg_invalidate_simplecache();
diff --git a/actions/admin/plugins/activate_all.php b/actions/admin/plugins/activate_all.php
index 4ba4be270..25802ce2e 100644
--- a/actions/admin/plugins/activate_all.php
+++ b/actions/admin/plugins/activate_all.php
@@ -19,8 +19,6 @@ foreach ($plugins as $plugin) {
}
}
-elgg_delete_admin_notice('first_installation_plugin_reminder');
-
// don't regenerate the simplecache because the plugin won't be
// loaded until next run. Just invalidate and let it regnerate as needed
elgg_invalidate_simplecache();
diff --git a/actions/admin/plugins/deactivate.php b/actions/admin/plugins/deactivate.php
index 7a9d59287..24ab38501 100644
--- a/actions/admin/plugins/deactivate.php
+++ b/actions/admin/plugins/deactivate.php
@@ -32,8 +32,6 @@ foreach ($plugin_guids as $guid) {
}
}
-elgg_delete_admin_notice('first_installation_plugin_reminder');
-
// don't regenerate the simplecache because the plugin won't be
// loaded until next run. Just invalidate and let it regnerate as needed
elgg_invalidate_simplecache();
diff --git a/actions/admin/plugins/deactivate_all.php b/actions/admin/plugins/deactivate_all.php
index bdeda001f..f1bea0a2c 100644
--- a/actions/admin/plugins/deactivate_all.php
+++ b/actions/admin/plugins/deactivate_all.php
@@ -19,8 +19,6 @@ foreach ($plugins as $plugin) {
}
}
-elgg_delete_admin_notice('first_installation_plugin_reminder');
-
// don't regenerate the simplecache because the plugin won't be
// loaded until next run. Just invalidate and let it regnerate as needed
elgg_invalidate_simplecache();
diff --git a/actions/admin/plugins/set_priority.php b/actions/admin/plugins/set_priority.php
index 1203e22de..fd7857e49 100644
--- a/actions/admin/plugins/set_priority.php
+++ b/actions/admin/plugins/set_priority.php
@@ -30,8 +30,6 @@ if ($plugin->setPriority($priority)) {
register_error(elgg_echo('admin:plugins:set_priority:no', array($plugin->manifest->getName())));
}
-elgg_delete_admin_notice('first_installation_plugin_reminder');
-
// don't regenerate the simplecache because the plugin won't be
// loaded until next run. Just invalidate and let it regnerate as needed
elgg_invalidate_simplecache();
diff --git a/actions/admin/plugins/simple_update_states.php b/actions/admin/plugins/simple_update_states.php
index 216a458f4..662a5c3dd 100644
--- a/actions/admin/plugins/simple_update_states.php
+++ b/actions/admin/plugins/simple_update_states.php
@@ -35,7 +35,6 @@ foreach ($installed_plugins as $plugin) {
}
if ($success) {
- elgg_delete_admin_notice('first_installation_plugin_reminder');
//system_message(elgg_echo('admin:plugins:simple_simple_success'));
} else {
register_error(elgg_echo('admin:plugins:simple_simple_fail'));
diff --git a/install/ElggInstaller.php b/install/ElggInstaller.php
index 2b8fd8324..aaa786033 100644
--- a/install/ElggInstaller.php
+++ b/install/ElggInstaller.php
@@ -507,10 +507,6 @@ class ElggInstaller {
$params = array();
if ($this->autoLogin) {
- // remind users to enable / disable desired tools
- $msg = elgg_echo('firstadminlogininstructions');
- elgg_add_admin_notice('first_installation_plugin_reminder', $msg);
-
$params['destination'] = 'pg/admin/plugins/simple';
} else {
$params['destination'] = 'index.php';
diff --git a/languages/en.php b/languages/en.php
index 8d9c1ca06..59eedb9e1 100644
--- a/languages/en.php
+++ b/languages/en.php
@@ -459,8 +459,6 @@ $english = array(
'registerbad' => "Your registration was unsuccessful because of an unknown error.",
'registerdisabled' => "Registration has been disabled by the system administrator",
- 'firstadminlogininstructions' => "Enable and disable plugins to customize your new Elgg site! (Remember to hit 'Save' when you're done.)",
-
'registration:notemail' => 'The email address you provided does not appear to be a valid email address.',
'registration:userexists' => 'That username already exists',
'registration:usernametooshort' => 'Your username must be a minimum of %u characters long.',