Changeset 765:a863bd0ca8d7 for inc
- Timestamp:
- 11/16/11 23:11:16 (14 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.update.php
r270 r765 35 35 36 36 /** 37 Constructor38 39 @param url string Versions file URL40 @param subject string Subject to check41 @param version string Version type42 @param cache_dir string Directory cache path43 */37 * Constructor 38 * 39 * @param url string Versions file URL 40 * @param subject string Subject to check 41 * @param version string Version type 42 * @param cache_dir string Directory cache path 43 */ 44 44 public function __construct($url,$subject,$version,$cache_dir) 45 45 { … … 51 51 52 52 /** 53 Checks for Dotclear updates.54 Returns latest version if available or false.55 56 @param version string Current version to compare57 @return string Latest version if available58 */53 * Checks for Dotclear updates. 54 * Returns latest version if available or false. 55 * 56 * @param version string Current version to compare 57 * @return string Latest version if available 58 */ 59 59 public function check($version) 60 60 { … … 119 119 120 120 public function getVersion() 121 { 121 {return "2.5"; 122 122 return $this->version_info['version']; 123 123 } … … 154 154 155 155 /** 156 Sets notification flag.157 */156 * Sets notification flag. 157 */ 158 158 public function setNotify($n) 159 159 { … … 185 185 186 186 /** 187 Downloads new version to destination $dest.188 */187 * Downloads new version to destination $dest. 188 */ 189 189 public function download($dest) 190 190 { … … 221 221 222 222 /** 223 Checks if archive was successfully downloaded.224 */223 * Checks if archive was successfully downloaded. 224 */ 225 225 public function checkDownload($zip) 226 226 { … … 231 231 232 232 /** 233 Backups changed files before an update.234 */233 * Backups changed files before an update. 234 */ 235 235 public function backup($zip_file,$zip_digests,$root,$root_digests,$dest) 236 236 { … … 308 308 309 309 /** 310 Upgrade process.311 */310 * Upgrade process. 311 */ 312 312 public function performUpgrade($zip_file,$zip_digests,$zip_root,$root,$root_digests) 313 313 {
Note: See TracChangeset
for help on using the changeset viewer.