Dotclear


Ignore:
Timestamp:
08/17/18 11:08:51 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Allows superadmin to force check update of plugins/themes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/core/class.dc.store.php

    r3731 r3812  
    3838     * @param    object    $modules        dcModules instance 
    3939     * @param    string    $xml_url        XML feed URL 
    40      */ 
    41     public function __construct(dcModules $modules, $xml_url) 
     40     * @param    boolean   $force          Force query repository 
     41     */ 
     42    public function __construct(dcModules $modules, $xml_url, $force = false) 
    4243    { 
    4344        $this->core       = $modules->core; 
     
    4647        $this->user_agent = sprintf('Dotclear/%s)', DC_VERSION); 
    4748 
    48         $this->check(); 
     49        $this->check($force); 
    4950    } 
    5051 
Note: See TracChangeset for help on using the changeset viewer.

Sites map