summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e414cf7)
raw | patch | inline | side by side (parent: e414cf7)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 25 Jan 2008 08:32:53 +0000 (08:32 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 25 Jan 2008 08:32:53 +0000 (08:32 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8601 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_gosaSupportDaemon.inc | patch | blob | history |
diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc
index 537755ad0f9d2ab084f3d0dd1a5b56ab493ae702..ae9eb8b1bfaf1919d49ba94fe7ac4b6e4fc0695e 100644 (file)
/*! \brief Returns an array containing all queued entries.
@return Array All queued entries as an array.
*/
- public function get_queued_entries($from=0,$to=10)
+ public function get_queued_entries($from=0,$to=10,$sort="timestamp DESC")
{
$this->b_error = FALSE;
$this->s_error = "";
<header>gosa_query_jobdb</header>
<where>
<clause>
- <connector>or</connector>
-
- <phrase>
- <operator>eq</operator>
- <HEADERTAG>ping</HEADERTAG>
- </phrase>
-
<phrase>
- <operator>eq</operator>
- <HEADERTAG>sayHello</HEADERTAG>
+ <operator>ne</operator>
+ <HEADERTAG>*</HEADERTAG>
</phrase>
</clause>
</where>
+ <orderby>".$sort."</orderby>
<limit>
<from>".$from."</from>
<to>".$to."</to>