Nabble\SemaltBlocker\Updater::doUpdate PHP Method

doUpdate() private static method

private static doUpdate ( )
    private static function doUpdate()
    {
        $domains = self::getNewDomainList();
        // Don't panic if updating the file throws an error of some kind
        if (trim($domains) !== '') {
            @file_put_contents(self::getBlocklistFilename(), $domains);
        }
    }