diff options
author | Michael Weimann <mail@michael-weimann.eu> | 2019-12-03 20:09:45 +0100 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2019-12-07 21:29:11 +0100 |
commit | e16e0b2644172f098956f6c970e86581e2e758c1 (patch) | |
tree | 6218bff227b508df61c7184dbbcb287bf2612e8f /src | |
parent | 4f63bbbaacd0db3636f1169f5ad29f1cfb21615b (diff) |
Migrate Question usages
Diffstat (limited to 'src')
-rw-r--r-- | src/Controllers/Metrics/Stats.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Controllers/Metrics/Stats.php b/src/Controllers/Metrics/Stats.php index 2d58f999..f1ef247b 100644 --- a/src/Controllers/Metrics/Stats.php +++ b/src/Controllers/Metrics/Stats.php @@ -226,13 +226,13 @@ class Stats public function questions($answered = null) { $query = $this - ->getQuery('Questions'); + ->getQuery('questions'); if (!is_null($answered)) { if ($answered) { - $query->whereNotNull('AID'); + $query->whereNotNull('answerer_id'); } else { - $query->whereNull('AID'); + $query->whereNull('answerer_id'); } } |