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:
@@ -146,17 +146,6 @@ function profiles_init(&$a) {
|
||||
}
|
||||
}
|
||||
|
||||
function profiles_aside(&$a) {
|
||||
|
||||
if(! local_user()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if((argc() > 1) && (intval(argv(1)))) {
|
||||
profile_create_sidebar($a);
|
||||
}
|
||||
}
|
||||
|
||||
function profiles_post(&$a) {
|
||||
|
||||
if(! local_user()) {
|
||||
|
||||
Reference in New Issue
Block a user