code cleanup

This commit is contained in:
redmatrix
2016-05-24 20:49:23 -07:00
parent f9a295a236
commit 80f2ba640e
30 changed files with 29 additions and 585 deletions

View File

@@ -451,8 +451,6 @@ require_once('include/api_auth.php');
*/
function api_apply_template($templatename, $type, $data){
$a = get_app();
switch($type){
case "atom":
case "rss":
@@ -1904,7 +1902,6 @@ require_once('include/api_auth.php');
//logger('api_format_items: ' . print_r($user_info,true));
$a = get_app();
$ret = array();
if(! $r)