mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Removed empty comments
This commit is contained in:
parent
eed50112d5
commit
99a355145e
|
@ -26,7 +26,6 @@ abstract class SnipePermissionsPolicy
|
|||
|
||||
public function index(User $user)
|
||||
{
|
||||
// dd('here');
|
||||
return $user->hasAccess($this->columnName().'.view');
|
||||
}
|
||||
/**
|
||||
|
@ -37,7 +36,6 @@ abstract class SnipePermissionsPolicy
|
|||
*/
|
||||
public function view(User $user, $item = null)
|
||||
{
|
||||
//
|
||||
return $user->hasAccess($this->columnName().'.view');
|
||||
}
|
||||
|
||||
|
@ -49,7 +47,6 @@ abstract class SnipePermissionsPolicy
|
|||
*/
|
||||
public function create(User $user)
|
||||
{
|
||||
//
|
||||
return $user->hasAccess($this->columnName().'.create');
|
||||
}
|
||||
|
||||
|
@ -61,7 +58,6 @@ abstract class SnipePermissionsPolicy
|
|||
*/
|
||||
public function update(User $user, $item = null)
|
||||
{
|
||||
//
|
||||
return $user->hasAccess($this->columnName().'.edit');
|
||||
}
|
||||
|
||||
|
@ -73,7 +69,6 @@ abstract class SnipePermissionsPolicy
|
|||
*/
|
||||
public function delete(User $user, $item = null)
|
||||
{
|
||||
//
|
||||
return $user->hasAccess($this->columnName().'.delete');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue