more work on api media uploads

This commit is contained in:
redmatrix
2015-12-13 19:15:42 -08:00
parent 2cceca49e9
commit fdd2da905a
4 changed files with 37 additions and 20 deletions

View File

@@ -430,7 +430,7 @@ function attach_store($channel, $observer_hash, $options = '', $arr = null) {
$observer = $x[0];
}
logger('arr: ' . print_r($arr,true));
logger('arr: ' . print_r($arr,true), LOGGER_DATA);
if(! perm_is_allowed($channel_id,$observer_hash, 'write_storage')) {
$ret['message'] = t('Permission denied.');