Skip to content

Commit

Permalink
Renamed SettingsController::Remove() to SettingsController::RemoveAdd…
Browse files Browse the repository at this point in the history
…on().
  • Loading branch information
Fred Wu committed Jan 26, 2010
1 parent 9b083c2 commit 060ff1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion applications/garden/controllers/settings.php
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion applications/garden/views/settings/plugins.php
Expand Up @@ -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
Expand Down

0 comments on commit 060ff1d

Please sign in to comment.