Gazelle/sections/wiki/delete_alias.php
2011-03-28 15:21:28 +01:00

7 lines
195 B
PHP

<?
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();
?>