summaryrefslogtreecommitdiffstats
path: root/plugins/modifier.key_not_exists.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/modifier.key_not_exists.php')
-rw-r--r--plugins/modifier.key_not_exists.php15
1 files changed, 0 insertions, 15 deletions
diff --git a/plugins/modifier.key_not_exists.php b/plugins/modifier.key_not_exists.php
deleted file mode 100644
index f29e077..0000000
--- a/plugins/modifier.key_not_exists.php
+++ /dev/null
@@ -1,15 +0,0 @@
-<?php
-
-function smarty_modifier_key_not_exists($value, $key)
-{
- if (!is_array($value)) {
- return array();
- }
-
- return array_filter($value,
- function($v) use ($key) {
- return !array_key_exists($key, $v);
- });
-}
-
-?>