diff options
author | Matt Katz <[email protected]> | 2010-04-09 20:04:57 -0400 |
---|---|---|
committer | Matt Katz <[email protected]> | 2010-04-09 20:04:57 -0400 |
commit | ef7b7bbd55cae0927faad2cc865902e1d3ecf092 (patch) | |
tree | c44de9ed34fe29df526a31f1e05d05a494ec542e /modules/backend-rpc.php | |
parent | c8640edadb151dbae7d23945264d09b502b67c10 (diff) |
adding in the backend connection bits so that the dialog works
Diffstat (limited to 'modules/backend-rpc.php')
-rw-r--r-- | modules/backend-rpc.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php index 6f70f07a5..b21e161e4 100644 --- a/modules/backend-rpc.php +++ b/modules/backend-rpc.php @@ -516,6 +516,16 @@ return; } + if ($subop == "regenOPMLKey") { + + print "<rpc-reply>"; + set_pref($link, " _PREFS_OPML_PUBLISH_KEY", generate_publish_key(), $_SESSION["uid"]); + $new_link = opml_publish_url($link); + print "<link><![CDATA[$new_link]]></link>"; + print "</rpc-reply>"; + return; + } + if ($subop == "logout") { logout_user(); print_error_xml(6); |