diff --git a/app/Http/Controllers/StatuslabelsController.php b/app/Http/Controllers/StatuslabelsController.php
index da184f575..951bf9963 100755
--- a/app/Http/Controllers/StatuslabelsController.php
+++ b/app/Http/Controllers/StatuslabelsController.php
@@ -205,72 +205,4 @@ class StatuslabelsController extends Controller
return redirect()->route('statuslabels.index')->with('error', trans('admin/statuslabels/message.assoc_assets'));
}
-
- public function getDatatable()
- {
- $statuslabels = Statuslabel::select(array('id','name','deployable','pending','archived','color','show_in_nav'))
- ->whereNull('deleted_at');
-
- if (Input::has('search')) {
- $statuslabels = $statuslabels->TextSearch(e(Input::get('search')));
- }
-
- $offset = request('offset', 0);
- $limit = request('limit', 50);
-
- $allowed_columns = ['id','name'];
- $order = Input::get('order') === 'asc' ? 'asc' : 'desc';
- $sort = in_array(Input::get('sort'), $allowed_columns) ? Input::get('sort') : 'created_at';
-
- $statuslabels->orderBy($sort, $order);
-
- $statuslabelsCount = $statuslabels->count();
- $statuslabels = $statuslabels->skip($offset)->take($limit)->get();
-
- $rows = array();
-
- foreach ($statuslabels as $statuslabel) {
-
- if ($statuslabel->deployable == 1) {
- $label_type = trans('admin/statuslabels/table.deployable');
- } elseif ($statuslabel->pending == 1) {
- $label_type = trans('admin/statuslabels/table.pending');
- } elseif ($statuslabel->archived == 1) {
- $label_type = trans('admin/statuslabels/table.archived');
- } else {
- $label_type = trans('admin/statuslabels/table.undeployable');
- }
- $actions = '