summaryrefslogtreecommitdiffstats
path: root/application/controllers/user.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-09-04 17:17:44 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-09-04 17:17:44 +0200
commit8b4ae393e4432f18961e03d9b363bfbb9c38e8a1 (patch)
treea8e3f237fc70d2c7646fb1e60d8346eb1ade04ca /application/controllers/user.php
parenta3dcd98f6ec721b709a7fee982f6e790e1e53328 (diff)
Remove unneeded "as" in sql query
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers/user.php')
-rw-r--r--application/controllers/user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/controllers/user.php b/application/controllers/user.php
index 34d6c492d..74c56ea12 100644
--- a/application/controllers/user.php
+++ b/application/controllers/user.php
@@ -151,7 +151,7 @@ class User extends MY_Controller {
// TODO: count both, invited users and key
$query = $this->db->query("
- SELECT count(*) as count
+ SELECT count(*) count
FROM `actions`
WHERE `user` = ?
AND `action` = 'invitation'