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 | e9a077a74215fb3e8e354403d2a9cbe93947001b (patch) | |
tree | 746cfdf1c0cdc8408b312870f881ed3684d8d60b /Postman/PostmanUtils.php | |
parent | ff0f11b11a728d9f4109b6989aa340f2f26a12e2 (diff) | |
download | Post-SMTP-e9a077a74215fb3e8e354403d2a9cbe93947001b.zip |
notification & new gmail client
git-svn-id: https://plugins.svn.wordpress.org/post-smtp/trunk@1852760 b8457f37-d9ea-0310-8a92-e5e31aec5664
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 ); |