Rev 453 | Rev 456 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 453 | Rev 455 | ||
---|---|---|---|
Line 895... | Line 895... | ||
895 | private static function recognizeVersion() { |
895 | private static function recognizeVersion() { |
896 | try { |
896 | try { |
897 | $ver_prev = OIDplus::config()->getValue("last_known_version"); |
897 | $ver_prev = OIDplus::config()->getValue("last_known_version"); |
898 | $ver_now = OIDplus::getVersion(); |
898 | $ver_now = OIDplus::getVersion(); |
899 | if (($ver_now != '') && ($ver_prev != '') && ($ver_now != $ver_prev)) { |
899 | if (($ver_now != '') && ($ver_prev != '') && ($ver_now != $ver_prev)) { |
- | 900 | // TODO: Problem: When the system was updated using SVN, then the IP address of the next random visitor of the website is logged! |
|
900 | OIDplus::logger()->log("[INFO]A!", "System version changed from '$ver_prev' to '$ver_now'"); |
901 | OIDplus::logger()->log("[INFO]A!", "System version changed from '$ver_prev' to '$ver_now'"); |
901 | } |
902 | } |
902 | OIDplus::config()->setValue("last_known_version", $ver_now); |
903 | OIDplus::config()->setValue("last_known_version", $ver_now); |
903 | } catch (Exception $e) { |
904 | } catch (Exception $e) { |
904 | } |
905 | } |