plugins/SpecialLog.php
changeset 960 e74741b8360b
parent 919 1314deadf903
child 970 d894086f38cc
--- a/plugins/SpecialLog.php	Sun May 10 14:43:00 2009 -0400
+++ b/plugins/SpecialLog.php	Sun May 10 14:44:37 2009 -0400
@@ -24,13 +24,7 @@
 
 function SpecialLog_paths_init()
 {
-  global $paths;
-  $paths->add_page(Array(
-    'name'=>'specialpage_log',
-    'urlname'=>'Log',
-    'namespace'=>'Special',
-    'special'=>0,'visible'=>1,'comments_on'=>0,'protected'=>1,'delvotes'=>0,'delvote_ips'=>'',
-    ));
+  register_special_page('Log', 'specialpage_log');
 }
 
 function page_Special_Log()