예제 #1
0
 public static function notifyAdmin($msg, $op_user, $all = TRUE)
 {
     $user_info = self::getAdmins();
     foreach ($user_info as $name => $info) {
         NotifyUtil::notifyByQHEmail($info["QHE"], $msg, $msg, $op_user);
         if ($all) {
             NotifyUtil::notifyBySMS($info["SMS"], $msg);
         }
     }
 }