first commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
class ModelExtensionDashboardActivity extends Model {
|
||||
public function getActivities() {
|
||||
$query = $this->db->query("SELECT `key`, `data`, `date_added` FROM `" . DB_PREFIX . "customer_activity` ORDER BY `date_added` DESC LIMIT 0,5");
|
||||
|
||||
return $query->rows;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user