CMS MADE SIMPLE FORGE

CMSMS CLI

 

[#12000] cache_clear undefined $days

avatar
Created By: Martin Clayton (pinkelephant)
Date Submitted: Fri Mar 22 07:52:31 -0400 2019

Assigned To: Robert Campbell (calguy1000)
Version: 0.5
CMSMS Version: 2.2.8
Severity: Minor
Resolution: Fixed
State: Open
Summary:
cache_clear undefined $days
Detailed Description:
/cmscli --usestderr -V
0.5

cmscli --usestderr site-info
Sitname       : Cmsms2.2 TestBed
Version       : 2.2.8 (Flin Flon)
Schema Version: 202

cmscli --usestderr cache-clear
PHP Notice:  Undefined variable: days in
phar:///srv/.all-sites/utils/cmscli/src/Commands/CacheClear.php on line 24

|    if( version_compare(CMS_VERSION,'2.2.900') < 1 ) {
|        $gCms->clear_cached_files( $days );

Arguably, not worth dealing with but mentioned in case it's useful.


History

Comments
avatar
Date: 2019-04-06 07:58
Posted By: Robert Campbell (calguy1000)

fixed in svn
      
Updates

Updated: 2019-04-06 07:58
resolution_id: => 7