aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_calendar.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions_calendar.inc.php')
-rw-r--r--include/functions_calendar.inc.php33
1 files changed, 0 insertions, 33 deletions
diff --git a/include/functions_calendar.inc.php b/include/functions_calendar.inc.php
index cbd3eec25..904514cd1 100644
--- a/include/functions_calendar.inc.php
+++ b/include/functions_calendar.inc.php
@@ -289,37 +289,4 @@ WHERE id IN (' . implode(',',$page['items']) .')';
}
pwg_debug('end initialize_calendar');
}
-
-function array_to_int($array)
-{
- $result = array();
- foreach ($array as $k => $v)
- {
- if ((int)$k==$k)
- {
- $key = (int) $k;
- }
- else
- {
- $key = $k;
- }
- if (is_array($v))
- {
- $result[$key] = array_to_int($v);
- }
- else
- {
- if (is_int($v))
- {
- $value = (int) $v;
- }
- else
- {
- $value = $v;
- }
- $result[$key] = $value;
- }
- }
- return $result;
-}
?> \ No newline at end of file