src/SemaltBlocker/Updater.php
public static function update($force = false)
    {
        if (!defined('SEMALT_UNIT_TESTING') && !self::isWritable()) {
            return;
        }

        if (!$force && !self::isOutdated()) {
            return;
        }

        self::doUpdate();
    }
public static function update($force = false)
    {
        if (!defined('SEMALT_UNIT_TESTING') && !self::isWritable()) {
            return;
        }

        if (!$force && !self::isOutdated()) {
            return;
        }

        self::doUpdate();
    }
public static function update ( $ force = false ) { if ( ! defined ( 'SEMALT_UNIT_TESTING' ) && ! self :: isWritable ( ) ) { return ; } if ( ! $ force && ! self :: isOutdated ( ) ) { return ; } self :: doUpdate ( ) ; }
Try to update the blocked domains list.

@param bool $force
Try to update the blocked domains list .