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:
friendica
2013-12-11 14:54:36 -08:00
parent 652959678f
commit 40e2900326
16 changed files with 74 additions and 325 deletions

View File

@@ -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()) {