Fix category administration

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-11-24 02:16:28 +01:00
committed by Chris Morgan
parent 30c5b93d6f
commit 6ebd4cfa34
5 changed files with 110 additions and 114 deletions

View File

@@ -604,14 +604,6 @@ class User {
/* Permission functions */
/************************/
function canDeleteCategory($oCategory)
{
if($this->hasPriv("admin"))
return true;
return false;
}
/**
* Returns true or false depending on whether the user can view the image
*/