code cleanup for profile_photos

This commit is contained in:
redmatrix
2016-06-23 01:17:44 -07:00
parent b8c5a91940
commit acf26d5c63
6 changed files with 110 additions and 70 deletions

View File

@@ -40,7 +40,7 @@ class Cover_photo extends \Zotlabs\Web\Controller {
*
*/
function post() {
function post() {
if(! local_channel()) {
return;
@@ -271,7 +271,7 @@ class Cover_photo extends \Zotlabs\Web\Controller {
*/
function get() {
function get() {
if(! local_channel()) {
notice( t('Permission denied.') . EOL );