Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
cstegm committed Sep 8, 2018
1 parent c26187a commit b0b9021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check_nextcloud_update.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function get_newest_version($nextcloud_releases="https://nextcloud.com/changelog
}catch(Exception $e){
error($e);
}

# searching the first nextcloud-#.#.#.zip on the page
if(preg_match('/.*?>nextcloud-(\d+\.\d+\.\d+)\.zip<.*/',$homepage,$res)){
if(is_array($res)){
return $res[1];
Expand Down

0 comments on commit b0b9021

Please sign in to comment.