Added the deletion of old revisions of the wiki pages.

This commit is contained in:
Loic d'Anterroches
2008-11-23 12:33:11 +01:00
parent 048e2ba783
commit 7c1ad62cdb
5 changed files with 105 additions and 1 deletions

View File

@@ -215,6 +215,12 @@ $ctl[] = array('regex' => '#^/p/([\-\w]+)/doc/update/(.*)/$#',
'model' => 'IDF_Views_Wiki',
'method' => 'update');
$ctl[] = array('regex' => '#^/p/([\-\w]+)/doc/delrev/(\d+)/$#',
'base' => $base,
'priority' => 4,
'model' => 'IDF_Views_Wiki',
'method' => 'deleteRev');
$ctl[] = array('regex' => '#^/p/([\-\w]+)/page/(.*)/$#',
'base' => $base,
'priority' => 4,