X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Freminder%2Fgapps.inc.php;h=f82a407510fbad2b54c28e0982b88c2d8b963eba;hb=c10e9a24b920cb34b3950306b5db941f8fc6ab59;hp=815f3151f40a787109a660969f79e61baaf656c3;hpb=9f5bd98e936d8cef7ca9f774eeef64dbb8a1b079;p=platal.git diff --git a/include/reminder/gapps.inc.php b/include/reminder/gapps.inc.php index 815f315..f82a407 100644 --- a/include/reminder/gapps.inc.php +++ b/include/reminder/gapps.inc.php @@ -1,6 +1,6 @@ checkPerms(User::PERM_MAIL)) { + return false; + } + require_once 'googleapps.inc.php'; $isSubscribed = GoogleAppsAccount::account_status($user->id()); if ($isSubscribed == 'disabled') {