diff --git a/phpgwapi/inc/class.egw_framework.inc.php b/phpgwapi/inc/class.egw_framework.inc.php
index eee94e49c9..102301fd41 100644
--- a/phpgwapi/inc/class.egw_framework.inc.php
+++ b/phpgwapi/inc/class.egw_framework.inc.php
@@ -938,7 +938,7 @@ abstract class egw_framework
 		{
 			$versions = array();
 			$security = null;
-			if (($remote = file_get_contents(egw_framework::CURRENT_VERSION_URL, false, self::proxy_context())))
+			if (($remote = file_get_contents(egw_framework::CURRENT_VERSION_URL, false, egw_framework::proxy_context())))
 			{
 				list($current, $security) = explode("\n", $remote);
 				if (empty($security)) $security = $current;