Gazelle/sections/wiki/delete_alias.php

7 lines
195 B
PHP
Raw Normal View History

2011-03-28 14:21:28 +00:00
<?
authorize();
$DB->query("DELETE FROM wiki_aliases WHERE Alias='".$Alias->convert($_GET['alias'])."'");
$Cache->delete_value('wiki_article_'.$Alias->to_id($_GET['alias']));
$Alias->flush();
?>