|
@@ -12,7 +12,7 @@
|
|
* @package QBF
|
|
* @package QBF
|
|
*/
|
|
*/
|
|
|
|
|
|
-// $Id: qbf.module,v 1.9.4.12 2009-03-22 15:15:19 marand Exp $
|
|
|
|
|
|
+// $Id: qbf.module,v 1.9.4.13 2009-03-22 19:40:29 marand Exp $
|
|
|
|
|
|
/**
|
|
/**
|
|
* Saved error reporting level.
|
|
* Saved error reporting level.
|
|
@@ -914,6 +914,7 @@ function qbf_forms(/* $args = NULL */)
|
|
* List queries owned by a given user.
|
|
* List queries owned by a given user.
|
|
*
|
|
*
|
|
* @param int $uid > 0
|
|
* @param int $uid > 0
|
|
|
|
+ * Defaults to current user
|
|
* @return array
|
|
* @return array
|
|
*/
|
|
*/
|
|
function qbf_get_queries_by_user($uid = NULL)
|
|
function qbf_get_queries_by_user($uid = NULL)
|
|
@@ -949,6 +950,10 @@ function qbf_get_queries_by_user($uid = NULL)
|
|
*/
|
|
*/
|
|
function qbf_mail($key, &$message, $params)
|
|
function qbf_mail($key, &$message, $params)
|
|
{
|
|
{
|
|
|
|
+ if ($key != '_qbf_query_delete')
|
|
|
|
+ {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
// dsm(array('QBF_mail key' => $key, 'message' => $message, 'params' => $params));
|
|
// dsm(array('QBF_mail key' => $key, 'message' => $message, 'params' => $params));
|
|
|
|
|
|
$deletor_tokens = user_mail_tokens($params['deletor'], $params['language']->language);
|
|
$deletor_tokens = user_mail_tokens($params['deletor'], $params['language']->language);
|