File tree 5 files changed +0
-31
lines changed
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)
181
181
case 'chat ' :
182
182
return $ this ->setUpChat ();
183
183
break ;
184
- case 'forum ' :
185
- return $ this ->setUpForum ();
186
- break ;
187
184
case 'steam-api ' :
188
185
return $ this ->setUpSteam ();
189
186
break ;
Original file line number Diff line number Diff line change 1
1
<?php namespace Syntax \Core ;
2
2
3
3
class SeedObserver {
4
-
5
- public function created ($ model )
6
- {
7
- $ model ->runSeed ();
8
- }
9
4
}
Original file line number Diff line number Diff line change @@ -35,19 +35,4 @@ class Seed extends \BaseModel
35
35
/********************************************************************
36
36
* Extra Methods
37
37
*******************************************************************/
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
- }
53
38
}
Original file line number Diff line number Diff line change 77
77
</div >
78
78
@include (' helpers.helpModal' )
79
79
80
- @section (' jsInclude' )
81
- {{ HTML:: script (' /js/crud.js' ) } }
82
- @stop
83
-
84
80
<script >
85
81
@section (' onReadyJs' )
86
82
// Make twitter paginator ajax
Original file line number Diff line number Diff line change 52
52
</div >
53
53
@include (' helpers.helpModal' )
54
54
55
- @section (' jsInclude' )
56
- {{ HTML:: script (' /js/crud.js' ) } }
57
- @stop
58
-
59
55
<script >
60
56
@section (' onReadyJs' )
61
57
// Make twitter paginator ajax
You can’t perform that action at this time.
0 commit comments