summaryrefslogtreecommitdiff
path: root/core/helpers/dir.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/helpers/dir.php')
-rw-r--r--core/helpers/dir.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/helpers/dir.php b/core/helpers/dir.php
index 02599467..33767f87 100644
--- a/core/helpers/dir.php
+++ b/core/helpers/dir.php
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class dir_Core {
- public static function unlink($path) {
+ static function unlink($path) {
if (is_dir($path) && is_writable($path)) {
foreach (new DirectoryIterator($path) as $resource) {
if ($resource->isDot()) {