Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14008016
D9606.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
964 B
Referenced Files
None
Subscribers
None
D9606.diff
View Options
diff --git a/src/applications/daemon/query/PhabricatorDaemonLogQuery.php b/src/applications/daemon/query/PhabricatorDaemonLogQuery.php
--- a/src/applications/daemon/query/PhabricatorDaemonLogQuery.php
+++ b/src/applications/daemon/query/PhabricatorDaemonLogQuery.php
@@ -7,6 +7,7 @@
const STATUS_ALIVE = 'status-alive';
private $ids;
+ private $notIDs;
private $status = self::STATUS_ALL;
private $daemonClasses;
private $allowStatusWrites;
@@ -24,6 +25,11 @@
return $this;
}
+ public function withoutIDs(array $ids) {
+ $this->notIDs = $ids;
+ return $this;
+ }
+
public function withStatus($status) {
$this->status = $status;
return $this;
@@ -119,6 +125,13 @@
$this->ids);
}
+ if ($this->notIDs) {
+ $where[] = qsprintf(
+ $conn_r,
+ 'id NOT IN (%Ld)',
+ $this->notIDs);
+ }
+
if ($this->getStatusConstants()) {
$where[] = qsprintf(
$conn_r,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Oct 30, 2:10 PM (2 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6712863
Default Alt Text
D9606.diff (964 B)
Attached To
Mode
D9606: Add a `withoutIDs` method to `PhabricatorDaemonLogQuery`.
Attached
Detach File
Event Timeline
Log In to Comment