adding in the backend connection bits so that the dialog works

This commit is contained in:
Matt Katz
2010-04-09 20:04:57 -04:00
parent c8640edadb
commit ef7b7bbd55
2 changed files with 46 additions and 0 deletions

View File

@@ -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);