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:
@@ -13,15 +13,6 @@ function profperm_init(&$a) {
|
||||
}
|
||||
|
||||
|
||||
function profperm_aside(&$a) {
|
||||
|
||||
if(! local_user())
|
||||
return;
|
||||
|
||||
profile_create_sidebar($a);
|
||||
}
|
||||
|
||||
|
||||
function profperm_content(&$a) {
|
||||
|
||||
if(! local_user()) {
|
||||
|
||||
Reference in New Issue
Block a user