summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-content/smarty-plugins/function.assign.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-inst/wp-content/smarty-plugins/function.assign.php')
-rw-r--r--wp-inst/wp-content/smarty-plugins/function.assign.php30
1 files changed, 0 insertions, 30 deletions
diff --git a/wp-inst/wp-content/smarty-plugins/function.assign.php b/wp-inst/wp-content/smarty-plugins/function.assign.php
deleted file mode 100644
index 0eb2960..0000000
--- a/wp-inst/wp-content/smarty-plugins/function.assign.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-
-/*
- * Smarty plugin
- * -------------------------------------------------------------
- * Type: function
- * Name: assign
- * Purpose: assign a value to a template variable
- * -------------------------------------------------------------
- */
-function smarty_function_assign($params, &$smarty)
-{
- extract($params);
-
- if (empty($var)) {
- $smarty->trigger_error("assign: missing 'var' parameter");
- return;
- }
-
- if (!in_array('value', array_keys($params))) {
- $smarty->trigger_error("assign: missing 'value' parameter");
- return;
- }
-
- $smarty->assign($var, $value);
-}
-
-/* vim: set expandtab: */
-
-?>