OCA\OcSms\Db\ConfigMapper::getNotificationState PHP Method

getNotificationState() public method

    public function getNotificationState()
    {
        $st = $this->getKey("notification_state");
        // Default state is 1/enabled
        if ($st === false) {
            $st = 1;
        }
        return $st;
    }