Skip to content

Commit

Permalink
add get_id function as external API, for use in new sync module
Browse files Browse the repository at this point in the history
  • Loading branch information
TrystanLea committed May 13, 2017
1 parent 114fa56 commit 12b0903
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Modules/feed/feed_controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ function feed_controller()

} elseif ($route->action == "listwithmeta" && $session['read']) {
$result = $feed->get_user_feeds_with_meta($session['userid']);
} elseif ($route->action == "getid" && $session['read']) {
$route->format = "text";
$result = $feed->get_id($session['userid'],get("name"));
} elseif ($route->action == "create" && $session['write']) {
$result = $feed->create($session['userid'],get('tag'),get('name'),get('datatype'),get('engine'),json_decode(get('options')));
} elseif ($route->action == "updatesize" && $session['write']) {
Expand Down

0 comments on commit 12b0903

Please sign in to comment.