Differential D25247 Diff 844 src/applications/repository/query/PhabricatorRepositoryRefCursorQuery.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/query/PhabricatorRepositoryRefCursorQuery.php
Show First 20 Lines • Show All 126 Lines • ▼ Show 20 Lines | if ($this->refNames !== null) { | ||||
} | } | ||||
$where[] = qsprintf( | $where[] = qsprintf( | ||||
$conn, | $conn, | ||||
'refNameHash IN (%Ls)', | 'refNameHash IN (%Ls)', | ||||
$name_hashes); | $name_hashes); | ||||
} | } | ||||
if (strlen($this->datasourceQuery)) { | if (phutil_nonempty_string($this->datasourceQuery)) { | ||||
$where[] = qsprintf( | $where[] = qsprintf( | ||||
$conn, | $conn, | ||||
'refNameRaw LIKE %>', | 'refNameRaw LIKE %>', | ||||
$this->datasourceQuery); | $this->datasourceQuery); | ||||
} | } | ||||
return $where; | return $where; | ||||
} | } | ||||
public function getQueryApplicationClass() { | public function getQueryApplicationClass() { | ||||
return 'PhabricatorDiffusionApplication'; | return 'PhabricatorDiffusionApplication'; | ||||
} | } | ||||
} | } |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0