aboutsummaryrefslogtreecommitdiffstats
path: root/mod/xpoco.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-25 16:27:09 -0800
committerfriendica <info@friendica.com>2015-01-25 16:27:09 -0800
commitb428fdf66e63304d7cbc6d6b4a3731f34ef822ba (patch)
tree272cc07e426a89d5e16f7f2cadc2a458f45a2b9a /mod/xpoco.php
parent505d530d28065a0cbfacd7d84c121133ebab01aa (diff)
downloadvolse-hubzilla-b428fdf66e63304d7cbc6d6b4a3731f34ef822ba.tar.gz
volse-hubzilla-b428fdf66e63304d7cbc6d6b4a3731f34ef822ba.tar.bz2
volse-hubzilla-b428fdf66e63304d7cbc6d6b4a3731f34ef822ba.zip
abstract poco into a single function in socgraph so we can provide different wrappers for it providing slightly different functionality.
Diffstat (limited to 'mod/xpoco.php')
-rw-r--r--mod/xpoco.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/mod/xpoco.php b/mod/xpoco.php
new file mode 100644
index 000000000..560966750
--- /dev/null
+++ b/mod/xpoco.php
@@ -0,0 +1,7 @@
+<?php
+
+require_once('include/socgraph.php');
+
+function xpoco_init(&$a) {
+ poco($a,true);
+}