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:
@@ -21,14 +21,6 @@ function common_init(&$a) {
|
||||
|
||||
}
|
||||
|
||||
function common_aside(&$a) {
|
||||
if(! $a->profile['profile_uid'])
|
||||
return;
|
||||
|
||||
profile_create_sidebar($a);
|
||||
}
|
||||
|
||||
|
||||
function common_content(&$a) {
|
||||
|
||||
$o = '';
|
||||
|
||||
Reference in New Issue
Block a user