diff --git a/portfolio/googledocs/lib.php b/portfolio/googledocs/lib.php index a7b87d06a4f..43257228fae 100644 --- a/portfolio/googledocs/lib.php +++ b/portfolio/googledocs/lib.php @@ -44,8 +44,9 @@ class portfolio_plugin_googledocs extends portfolio_plugin_push_base { } public function expected_time($callertime) { - // We trust what the portfolio says. - return $callertime; + // We're forcing this to be run 'interactively' because the plugin + // does not support running in cron. + return PORTFOLIO_TIME_LOW; } public function send_package() { diff --git a/portfolio/picasa/lib.php b/portfolio/picasa/lib.php index fff8760f01b..d760b127d66 100644 --- a/portfolio/picasa/lib.php +++ b/portfolio/picasa/lib.php @@ -44,7 +44,9 @@ class portfolio_plugin_picasa extends portfolio_plugin_push_base { } public function expected_time($callertime) { - return $callertime; + // We're forcing this to be run 'interactively' because the plugin + // does not support running in cron. + return PORTFOLIO_TIME_LOW; } public function send_package() {