]> git.mjollnir.org Git - moodle.git/commitdiff
Write to the log when the SSL key is created
authordonal <donal>
Fri, 15 Feb 2008 08:10:50 +0000 (08:10 +0000)
committerdonal <donal>
Fri, 15 Feb 2008 08:10:50 +0000 (08:10 +0000)
mnet/environment.php

index ebdce1ba685e19e33c32a41a99147e19034d830a..bef22304c6a098767ad023dc30e61ebeb5702b64 100644 (file)
@@ -157,6 +157,7 @@ class mnet_environment {
         set_config('openssl', implode('@@@@@@@@', $this->keypair), 'mnet');
 
         update_record('mnet_host', $this);
+        error_log('New public key has been generated. It expires ' . date('Y/m/d h:i:s', $this->public_key_expires));
     }
 
     function get_private_key() {