From: dongsheng Date: Thu, 25 Jun 2009 07:44:27 +0000 (+0000) Subject: "MDL-16383, add check_login to construct function" X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=94742bca31720a1439e9ee7803df28ddaa0af6b7;p=moodle.git "MDL-16383, add check_login to construct function" --- diff --git a/repository/googledocs/repository.class.php b/repository/googledocs/repository.class.php index 76bd238a4c..45948d1bfa 100644 --- a/repository/googledocs/repository.class.php +++ b/repository/googledocs/repository.class.php @@ -22,6 +22,7 @@ class repository_googledocs extends repository { $gauth = new google_authsub(false, $googletoken); // will throw exception if fails google_docs::set_sesskey($gauth->get_sessiontoken(), $USER->id); } + $this->check_login(); } public function check_login() {