We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 0aedf0fa authored by Mike Sheldon's avatar Mike Sheldon

Make changes to services connections take effect immediately

parent b32c1a42
......@@ -81,6 +81,9 @@ if(isset($_GET['forward']) && isset($_GET['service'])) {
$adodb->Execute('UPDATE Service_Connections SET forward = ' . (int) ($_GET['forward'])
. ' WHERE userid = ' . $this_user->uniqueid
. ' AND webservice_url = ' . $adodb->qstr($_GET['service']));
// Flush cache so this change takes effect immediately
$adodb->CacheFlush('SELECT * FROM Service_Connections WHERE userid = ' . $this_user->uniqueid . ' AND forward = 1');
}
if(isset($lastfm_key)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment