diff options
author | kondou <kondou@ts.unde.re> | 2013-04-18 18:28:03 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-07-10 02:34:00 +0200 |
commit | 2f11f56d323cc7a559ecc42f521083301479920e (patch) | |
tree | b886cc963f7550cb54da931416a4f3d58920fada /apps/files_trashbin/ajax | |
parent | 7ec6f3bde9ccaa7c53bf500fff222a7b25a4a44c (diff) | |
download | nextcloud-server-2f11f56d323cc7a559ecc42f521083301479920e.tar.gz nextcloud-server-2f11f56d323cc7a559ecc42f521083301479920e.zip |
Use !== and === in files_trashbin-app
Diffstat (limited to 'apps/files_trashbin/ajax')
-rw-r--r-- | apps/files_trashbin/ajax/delete.php | 2 | ||||
-rw-r--r-- | apps/files_trashbin/ajax/undelete.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_trashbin/ajax/delete.php b/apps/files_trashbin/ajax/delete.php index 16c39ab3853..92361b65f63 100644 --- a/apps/files_trashbin/ajax/delete.php +++ b/apps/files_trashbin/ajax/delete.php @@ -13,7 +13,7 @@ $success = array(); $i = 0; foreach ($list as $file) { - if ( $dirlisting=='0') { + if ( $dirlisting === '0') { $delimiter = strrpos($file, '.d'); $filename = substr($file, 0, $delimiter); $timestamp = substr($file, $delimiter+2); diff --git a/apps/files_trashbin/ajax/undelete.php b/apps/files_trashbin/ajax/undelete.php index 9d78f166765..e39004cc0d5 100644 --- a/apps/files_trashbin/ajax/undelete.php +++ b/apps/files_trashbin/ajax/undelete.php @@ -12,7 +12,7 @@ $success = array(); $i = 0; foreach ($list as $file) { - if ( $dirlisting=='0') { + if ( $dirlisting === '0') { $delimiter = strrpos($file, '.d'); $filename = substr($file, 0, $delimiter); $timestamp = substr($file, $delimiter+2); |