Changeset 3390:8cc44296f7b0 for inc/core/class.dc.update.php
- Timestamp:
- 11/04/16 11:47:26 (9 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.update.php
r3350 r3390 28 28 'checksum' => null, 29 29 'info' => null, 30 'php' => '5.3', 30 31 'notify' => true 31 32 ); … … 58 59 * @return string Latest version if available 59 60 */ 60 public function check($version, 61 public function check($version,$nocache=false) 61 62 { 62 63 $this->getVersionInfo($nocache); … … 158 159 { 159 160 return $this->version_info['checksum']; 161 } 162 163 public function getPHPVersion() 164 { 165 return $this->version_info['php']; 160 166 } 161 167 … … 453 459 $this->version_info['checksum'] = isset($r['checksum']) ? (string) $r['checksum'] : null; 454 460 $this->version_info['info'] = isset($r['info']) ? (string) $r['info'] : null; 461 $this->version_info['php'] = isset($r['php']) ? (string) $r['php'] : null; 455 462 } 456 463 }
Note: See TracChangeset
for help on using the changeset viewer.