]> git.mjollnir.org Git - moodle.git/commitdiff
"MDL-16383, add check_login to construct function"
authordongsheng <dongsheng>
Thu, 25 Jun 2009 07:44:27 +0000 (07:44 +0000)
committerdongsheng <dongsheng>
Thu, 25 Jun 2009 07:44:27 +0000 (07:44 +0000)
repository/googledocs/repository.class.php

index 76bd238a4cafa2234e75c9d03e0194f3c5b2e952..45948d1bfaa8cbbc347180fa89182e7d2c450d54 100644 (file)
@@ -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() {