Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conpherence/query/ConpherenceThreadQuery.php
Show First 20 Lines • Show All 273 Lines • ▼ Show 20 Lines | foreach ($conpherences as $phid => $conpherence) { | ||||
if ($current_author_phid) { | if ($current_author_phid) { | ||||
$current_author = $authors[$current_author_phid]; | $current_author = $authors[$current_author_phid]; | ||||
} | } | ||||
$files_authors[$curr_phid] = $current_author; | $files_authors[$curr_phid] = $current_author; | ||||
} | } | ||||
$widget_data = array( | $widget_data = array( | ||||
'statuses' => $statuses, | 'statuses' => $statuses, | ||||
'files' => $conpherence_files, | 'files' => $conpherence_files, | ||||
'files_authors' => $files_authors | 'files_authors' => $files_authors, | ||||
); | ); | ||||
$conpherence->attachWidgetData($widget_data); | $conpherence->attachWidgetData($widget_data); | ||||
} | } | ||||
return $this; | return $this; | ||||
} | } | ||||
public function getQueryApplicationClass() { | public function getQueryApplicationClass() { | ||||
return 'PhabricatorConpherenceApplication'; | return 'PhabricatorConpherenceApplication'; | ||||
} | } | ||||
} | } |