Browse Source

remove unused storeSearchProvider

pull/329/head
Chris 6 years ago
parent
commit
63e0d07d50
  1. 4
      app/Http/Controllers/ItemController.php

4
app/Http/Controllers/ItemController.php

@ -169,7 +169,7 @@ class ItemController extends Controller
$item = Item::create($request->all());
Search::storeSearchProvider($request->input('class'), $item);
//Search::storeSearchProvider($request->input('class'), $item);
$item->parents()->sync($request->tags);
@ -244,7 +244,7 @@ class ItemController extends Controller
$item = Item::find($id);
$item->update($request->all());
Search::storeSearchProvider($request->input('class'), $item);
//Search::storeSearchProvider($request->input('class'), $item);
$item->parents()->sync($request->tags);

Loading…
Cancel
Save