diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-08-02 03:14:24 -0700 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-08-02 03:14:24 -0700 |
commit | 895d9ba1b9529f0ef7dbb47402324f2f8436fcdb (patch) | |
tree | 7b8f47a1762d841ba3f84e3de9550c29a9a12b14 /apps/files_trashbin/ajax | |
parent | 41739ff83f24d3ed62d4a3f3649375aec11c7dda (diff) | |
parent | 70b4f85911c0d1a774c6a446c44e4ec464abaee4 (diff) | |
download | nextcloud-server-895d9ba1b9529f0ef7dbb47402324f2f8436fcdb.tar.gz nextcloud-server-895d9ba1b9529f0ef7dbb47402324f2f8436fcdb.zip |
Merge pull request #3006 from owncloud/===_and_!==_in_files_trashbin-app
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); |