aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-09 21:20:55 -0800
committerfriendica <info@friendica.com>2013-12-09 21:20:55 -0800
commited9f10872240231125007cf32b95007281558cac (patch)
tree06686896c308c5ad30becb62f3e236b311ab238b /mod/network.php
parent251720bfd32541901b9e845651dbc037b34065e2 (diff)
downloadvolse-hubzilla-ed9f10872240231125007cf32b95007281558cac.tar.gz
volse-hubzilla-ed9f10872240231125007cf32b95007281558cac.tar.bz2
volse-hubzilla-ed9f10872240231125007cf32b95007281558cac.zip
comanchify the savedsearch widget
Diffstat (limited to 'mod/network.php')
-rw-r--r--mod/network.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/network.php b/mod/network.php
index 13092d47d..6c9cef11e 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -24,7 +24,7 @@ function network_init(&$a) {
$search = ((x($_GET,'search')) ? $_GET['search'] : '');
-
+/*
if(x($_GET,'save') && $search) {
$r = q("select * from `term` where `uid` = %d and `type` = %d and `term` = '%s' limit 1",
intval(local_user()),
@@ -46,13 +46,13 @@ function network_init(&$a) {
dbesc($search)
);
}
-
+*/
require_once('include/widgets.php');
$a->set_widget('collections',widget_collections(array()));
$a->set_widget('archives',posted_date_widget($a->get_baseurl() . '/network',local_user(),false));
$a->set_widget('suggestions',widget_suggestions(array()));
- $a->set_widget('savedsearch',saved_searches($search));
+ $a->set_widget('savedsearch',widget_savedsearch(array()));
$a->set_widget('filer',fileas_widget($a->get_baseurl(true) . '/network',(x($_GET, 'file') ? $_GET['file'] : '')));
$a->set_widget('notes',widget_notes(array()));