File tree Expand file tree Collapse file tree 5 files changed +0
-31
lines changed Expand file tree Collapse file tree 5 files changed +0
-31
lines changed Original file line number Diff line number Diff line change @@ -181,9 +181,6 @@ protected function setUpSyntax($package)
181181 case 'chat ' :
182182 return $ this ->setUpChat ();
183183 break ;
184- case 'forum ' :
185- return $ this ->setUpForum ();
186- break ;
187184 case 'steam-api ' :
188185 return $ this ->setUpSteam ();
189186 break ;
Original file line number Diff line number Diff line change 11<?php namespace Syntax \Core ;
22
33class SeedObserver {
4-
5- public function created ($ model )
6- {
7- $ model ->runSeed ();
8- }
94}
Original file line number Diff line number Diff line change @@ -35,19 +35,4 @@ class Seed extends \BaseModel
3535 /********************************************************************
3636 * Extra Methods
3737 *******************************************************************/
38- public function runSeed ()
39- {
40- // Move the update file to local
41- $ updatePath = app_path () .'/core/database/seeds/updates ' ;
42- $ fullSeedName = $ this ->name .'.php ' ;
43-
44- File::copy ($ updatePath .'/ ' . $ fullSeedName , app_path () .'/database/seeds/ ' . $ fullSeedName );
45- exec ('chmod 755 ' . app_path () .'/database/seeds/ ' . $ fullSeedName );
46-
47- // Load the new file
48- exec ('/usr/local/bin/php ' . base_path () .'/artisan dump-autoload ' );
49-
50- // Run the seed
51- exec ('/usr/local/bin/php ' . base_path () .'/artisan db:seed --class= ' . $ this ->name );
52- }
5338}
Original file line number Diff line number Diff line change 7777</div >
7878@include (' helpers.helpModal' )
7979
80- @section (' jsInclude' )
81- {{ HTML:: script (' /js/crud.js' ) } }
82- @stop
83-
8480<script >
8581 @section (' onReadyJs' )
8682 // Make twitter paginator ajax
Original file line number Diff line number Diff line change 5252</div >
5353@include (' helpers.helpModal' )
5454
55- @section (' jsInclude' )
56- {{ HTML:: script (' /js/crud.js' ) } }
57- @stop
58-
5955<script >
6056 @section (' onReadyJs' )
6157 // Make twitter paginator ajax
You can’t perform that action at this time.
0 commit comments