Adamw has uploaded a new change for review.
https://gerrit.wikimedia.org/r/59674
Change subject: use PHP unlink. d7 api changed.
......................................................................
use PHP unlink. d7 api changed.
Change-Id: Iaea4f707419fc55924b6842abccfa4c233097837
---
M sites/all/modules/globalcollect_audit/globalcollect_audit.module
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm
refs/changes/74/59674/1
diff --git a/sites/all/modules/globalcollect_audit/globalcollect_audit.module
b/sites/all/modules/globalcollect_audit/globalcollect_audit.module
index 611c79f..0be13b8 100644
--- a/sites/all/modules/globalcollect_audit/globalcollect_audit.module
+++ b/sites/all/modules/globalcollect_audit/globalcollect_audit.module
@@ -945,7 +945,7 @@
//add it to the other array.
$files['rename'][] = $newfile;
if (file_exists($gzfile)){ //still?
- file_delete($gzfile);
+ unlink($gzfile);
}
unset($files['gz'][$key]);
}
@@ -981,7 +981,7 @@
$big_log );
if ( in_array($smallened_log, $files['iop']) ){
globalcollect_audit_echo("Deleting $big_log");
- file_delete( $big_log );
+ unlink( $big_log );
unset($files['log'][$key]);
}
}
--
To view, visit https://gerrit.wikimedia.org/r/59674
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaea4f707419fc55924b6842abccfa4c233097837
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm
Gerrit-Branch: master
Gerrit-Owner: Adamw <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits