mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-07-28 08:55:00 +02:00
added detach support for the gui
This commit is contained in:
@@ -493,6 +493,9 @@ class ModelSearchSearch extends Model {
|
||||
|
||||
$lang = Registry::get('language');
|
||||
|
||||
|
||||
$this->model_search_message->connect_to_pilergetd();
|
||||
|
||||
foreach($query->rows as $m) {
|
||||
$m['shortfrom'] = make_short_string($m['from'], MAX_CGI_FROM_SUBJ_LEN);
|
||||
$m['from'] = escape_gt_lt_quote_symbols($m['from']);
|
||||
@@ -526,6 +529,9 @@ class ModelSearchSearch extends Model {
|
||||
|
||||
array_push($messages, $m);
|
||||
}
|
||||
|
||||
$this->model_search_message->disconnect_from_pilergetd();
|
||||
|
||||
}
|
||||
|
||||
if(MEMCACHED_ENABLED) {
|
||||
|
Reference in New Issue
Block a user