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

Commit b32c1a42 authored by Mike Sheldon's avatar Mike Sheldon

Make changes to services connections take effect immediately

parent 2fd04bdf
......@@ -70,6 +70,9 @@ if(isset($_GET['token']) && isset($_GET['webservice_url'])) {
. $adodb->qstr($remote_key) . ', '
. $adodb->qstr($remote_username) . ')');
// Flush cache so this change takes effect immediately
$adodb->CacheFlush('SELECT * FROM Service_Connections WHERE userid = ' . $this_user->uniqueid . ' AND forward = 1');
$smarty->assign('connection_added', true);
}
......
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