Skip to content
Permalink
Browse files

Renamed SettingsController::Remove() to SettingsController::RemoveAdd…

…on().
  • Loading branch information...
fredwu committed Jan 26, 2010
1 parent 9b083c2 commit 060ff1d022a5dae05e85f83369febb8db027b6a8
Showing with 2 additions and 2 deletions.
  1. +1 −1 applications/garden/controllers/settings.php
  2. +1 −1 applications/garden/views/settings/plugins.php
@@ -500,7 +500,7 @@ public function CancelPreview() {
Redirect('settings/themes');
}
public function Remove($Type, $Name, $TransientKey = '') {
public function RemoveAddon($Type, $Name, $TransientKey = '') {
switch ($Type) {
case SettingsModule::TYPE_APPLICATION:
$Manager = Gdn::Factory('ApplicationManager');
@@ -77,7 +77,7 @@
if (SettingsModule::IsRemovable(SettingsModule::TYPE_PLUGIN, $PluginName)) {
echo '<span>|</span>';
echo Anchor('Remove', '/settings/remove/'.SettingsModule::TYPE_PLUGIN.'/'.$PluginName.'/'.$Session->TransientKey(), 'RemoveItem');
echo Anchor('Remove', '/settings/removeaddon/'.SettingsModule::TYPE_PLUGIN.'/'.$PluginName.'/'.$Session->TransientKey(), 'RemoveItem');
}
?></td>
<td class="Alt Info"><?php

0 comments on commit 060ff1d

Please sign in to comment.
You can’t perform that action at this time.