summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-08 19:36:24 +0300
committerAndrew Dolgov <[email protected]>2010-11-08 19:36:24 +0300
commit2e7f046f65bd6d3a9417484bc4d6c9855cf39f7e (patch)
treeb9ddafc7d49fd7b125fa9231b6f1381d1d5ec745 /functions.php
parentf29033f86c41349237a9619137207083ea43a371 (diff)
make published OPML use common secret key code
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 508a36d4e..d7e1f258c 100644
--- a/functions.php
+++ b/functions.php
@@ -5763,7 +5763,7 @@
$url_path = get_self_url_prefix();
$url_path .= "/opml.php?op=publish&key=" .
- get_pref($link, "_PREFS_PUBLISH_KEY", $_SESSION["uid"]);
+ get_feed_access_key($link, 'OPML:Publish', false, $_SESSION["uid"]);
return $url_path;
}