comanchify all the simple cases - those that only load a profile. Rework permission checks for the profile sidebar so that it is all done internally. Remove crepair which we aren't using.
This commit is contained in:
@@ -14,16 +14,6 @@ function profile_photo_init(&$a) {
|
||||
}
|
||||
|
||||
|
||||
function profile_photo_aside(&$a) {
|
||||
|
||||
if(! local_user()) {
|
||||
return;
|
||||
}
|
||||
|
||||
profile_create_sidebar($a);
|
||||
}
|
||||
|
||||
|
||||
function profile_photo_post(&$a) {
|
||||
|
||||
if(! local_user()) {
|
||||
|
||||
Reference in New Issue
Block a user