diff options
author | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2018-04-04 19:17:51 +0000 |
---|---|---|
committer | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2018-04-04 19:17:51 +0000 |
commit | 62b95f35576ea9b9178b900f9480fed0466211a2 (patch) | |
tree | 746cfdf1c0cdc8408b312870f881ed3684d8d60b /Postman/PostmanUtils.php | |
parent | a83767b57bb15075e775f2336cfd77225b155799 (diff) | |
download | Post-SMTP-62b95f35576ea9b9178b900f9480fed0466211a2.zip |
notification & new gmail client
Diffstat (limited to 'Postman/PostmanUtils.php')
-rw-r--r-- | Postman/PostmanUtils.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Postman/PostmanUtils.php b/Postman/PostmanUtils.php index 059c9e0..ed5864e 100644 --- a/Postman/PostmanUtils.php +++ b/Postman/PostmanUtils.php @@ -227,6 +227,13 @@ class PostmanUtils { } } } + + static function lockFileExists() { + $path = PostmanUtils::calculateTemporaryLockPath( null ); + + return file_exists($path); + } + static function deleteLockFile( $tempDirectory = null ) { $path = PostmanUtils::calculateTemporaryLockPath( $tempDirectory ); $success = @unlink( $path ); |