summaryrefslogtreecommitdiff
path: root/Postman/PostmanUtils.php
diff options
context:
space:
mode:
authoryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2018-04-04 19:17:51 +0000
committeryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2018-04-04 19:17:51 +0000
commit62b95f35576ea9b9178b900f9480fed0466211a2 (patch)
tree746cfdf1c0cdc8408b312870f881ed3684d8d60b /Postman/PostmanUtils.php
parenta83767b57bb15075e775f2336cfd77225b155799 (diff)
downloadPost-SMTP-62b95f35576ea9b9178b900f9480fed0466211a2.zip
notification & new gmail client
Diffstat (limited to 'Postman/PostmanUtils.php')
-rw-r--r--Postman/PostmanUtils.php7
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 );