Plugin Directory

Changeset 2517068


Ignore:
Timestamp:
04/18/2021 09:19:24 AM (5 years ago)
Author:
brainiacx
Message:

fast fix of test variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • consolety/trunk/classes/API.php

    r2517067 r2517068  
    8585    public function get_consolety_news(){
    8686        $lastupdate = get_site_option( 'consolety_news_lastupdate');
    87         if(!$lastupdate && $lastupdate+3600<time() || true){
     87        if(!$lastupdate && $lastupdate+3600<time()){
    8888            update_site_option( 'consolety_news_lastupdate',time());
    8989            $request = wp_remote_get( self::NEWS . '?secret_key=' . \Consolety\Initialization::getInstance()->get_secret_key() );
Note: See TracChangeset for help on using the changeset viewer.