Bug Fix: Apparently these should be static.
This commit is contained in:
parent
e011deb115
commit
3b0e79d97d
@ -147,7 +147,7 @@ class rwinfo_block_Core {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// This came from modules/gallery/controllers/user_profile.php.
|
// This came from modules/gallery/controllers/user_profile.php.
|
||||||
private function _can_view_profile_pages($user) {
|
static private function _can_view_profile_pages($user) {
|
||||||
if (!$user->loaded()) {
|
if (!$user->loaded()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -66,7 +66,7 @@ class rwinfo_theme_Core {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// This came from modules/gallery/controllers/user_profile.php.
|
// This came from modules/gallery/controllers/user_profile.php.
|
||||||
private function _can_view_profile_pages($user) {
|
static private function _can_view_profile_pages($user) {
|
||||||
if (!$user->loaded()) {
|
if (!$user->loaded()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user