more perms

This commit is contained in:
Shish 2012-03-31 15:47:00 +01:00
parent 9cebbae6b8
commit 38802c61cf
2 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@ class CustomViewImageTheme extends ViewImageTheme {
$h_filesize = to_shorthand_int($image->filesize);
global $user;
if($user->is_admin()) {
if($user->can("view_ip")) {
$h_ownerlink .= " ($h_ip)";
}

View file

@ -25,7 +25,7 @@ class CustomViewImageTheme extends ViewImageTheme {
$h_filesize = to_shorthand_int($image->filesize);
global $user;
if($user->is_admin()) {
if($user->can("view_ip")) {
$h_ownerlink .= " ($h_ip)";
}