Fix category administration
This commit is contained in:
committed by
Chris Morgan
parent
30c5b93d6f
commit
6ebd4cfa34
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user