Optimise users home page
This commit is contained in:
@@ -102,20 +102,6 @@ class HomeController extends Controller
|
||||
return $this->invoice_pdf($o);
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper to redirect to the old site, when functions are not available in this one.
|
||||
*
|
||||
* @param $type
|
||||
* @param $action
|
||||
* @param $id
|
||||
* @return void
|
||||
* @deprecated @todo Remove once all functions added
|
||||
*/
|
||||
public function oldsite($type,$action,$id)
|
||||
{
|
||||
abort(307,sprintf('http://www.graytech.net.au/u/%s/%s/%s',$type,$action,$id));
|
||||
}
|
||||
|
||||
/**
|
||||
* Return details on the users service
|
||||
*
|
||||
|
@@ -1,13 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Models\User;
|
||||
|
||||
class UserServicesController extends Controller
|
||||
{
|
||||
public function services(User $o)
|
||||
{
|
||||
return ['data'=>$o->services_active->values()];
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user