From 62b95f35576ea9b9178b900f9480fed0466211a2 Mon Sep 17 00:00:00 2001 From: yehudah Date: Wed, 4 Apr 2018 19:17:51 +0000 Subject: notification & new gmail client --- Postman/PostmanUtils.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Postman/PostmanUtils.php') 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 ); -- cgit v1.2.3