Example #1
0
 public static function getAuthUrl($mode = "page", $addScope = null)
 {
     if (Option::get("socialservices", "bitrix24net_id", "") != "") {
         $o = new \CSocServBitrix24Net();
         if ($addScope !== null) {
             $o->addScope($addScope);
         }
         return $o->getUrl($mode);
     }
     return false;
 }