@@ -11,8 +11,8 @@ discard block |
||
| 11 | 11 | class ApiController extends Controller |
| 12 | 12 | { |
| 13 | 13 | /** |
| 14 | - * Get info about the install |
|
| 15 | - */ |
|
| 14 | + * Get info about the install |
|
| 15 | + */ |
|
| 16 | 16 | public function get_info() |
| 17 | 17 | { |
| 18 | 18 | $versions['git'] = `git rev-parse --short HEAD`; |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | 30 | * Get statistics about the install |
| 31 | - **/ |
|
| 31 | + **/ |
|
| 32 | 32 | public function get_stats() |
| 33 | 33 | { |
| 34 | 34 | $stats['devices'] = DB::select('SELECT COUNT(device_id) AS `total` FROM `devices`')[0]->total; |