summaryrefslogtreecommitdiffstats
path: root/lib/ui.lib.php
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2013-01-26 01:35:59 -0500
committerPaul Arthur <paul.arthur@flowerysong.com>2013-01-26 01:35:59 -0500
commit136f9f58569c6a6b52d6b9589fabf29950178cd7 (patch)
tree2655fbc3acd99489840e0d8c6812a99386f7c593 /lib/ui.lib.php
parentd572c2776f5ab7f66a632f54006dabe2f159c02b (diff)
downloadampache-136f9f58569c6a6b52d6b9589fabf29950178cd7.tar.gz
ampache-136f9f58569c6a6b52d6b9589fabf29950178cd7.tar.bz2
ampache-136f9f58569c6a6b52d6b9589fabf29950178cd7.zip
Move ajax_include() from ui.lib.php to UI
Diffstat (limited to 'lib/ui.lib.php')
-rw-r--r--lib/ui.lib.php17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/ui.lib.php b/lib/ui.lib.php
index 577e9ce1..15957626 100644
--- a/lib/ui.lib.php
+++ b/lib/ui.lib.php
@@ -573,23 +573,6 @@ function xml_get_footer($type){
} // xml_get_footer
/**
- * ajax_include
- * This does an ob_start, getcontents, clean
- * on the specified require, only works if you
- * don't need to pass data in
- */
-function ajax_include($include) {
-
- ob_start();
- require_once Config::get('prefix') . '/templates/' . $include;
- $results = ob_get_contents();
- ob_end_clean();
-
- return $results;
-
-} // ajax_include
-
-/**
* toggle_visible
* This is identical to the javascript command that it actually calls
*/