Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
c10ad626
Commit
c10ad626
authored
Oct 22, 2014
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove log service provider since it is part of Bootstrap process.
parent
9aed9deb
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
39 deletions
+8
-39
EventServiceProvider.php
app/Providers/EventServiceProvider.php
+8
-8
LogServiceProvider.php
app/Providers/LogServiceProvider.php
+0
-29
app.php
config/app.php
+0
-1
compile.php
config/compile.php
+0
-1
No files found.
app/Providers/EventServiceProvider.php
View file @
c10ad626
...
@@ -5,23 +5,23 @@ use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvi
...
@@ -5,23 +5,23 @@ use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvi
class
EventServiceProvider
extends
ServiceProvider
{
class
EventServiceProvider
extends
ServiceProvider
{
/**
/**
* The
event handler mappings for the application
.
* The
classes to scan for event annotations
.
*
*
* @var array
* @var array
*/
*/
protected
$listen
=
[
protected
$scan
=
[
'event.name'
=>
[
//
'EventListener'
,
],
];
];
/**
/**
* The
classes to scan for event annotations
.
* The
event handler mappings for the application
.
*
*
* @var array
* @var array
*/
*/
protected
$scan
=
[
protected
$listen
=
[
//
'event.name'
=>
[
'EventListener'
,
],
];
];
}
}
app/Providers/LogServiceProvider.php
deleted
100644 → 0
View file @
9aed9deb
<?php
namespace
App\Providers
;
use
Illuminate\Contracts\Logging\Log
;
use
Illuminate\Support\ServiceProvider
;
class
LogServiceProvider
extends
ServiceProvider
{
/**
* Configure the application's logging facilities.
*
* @param Log $log
* @return void
*/
public
function
boot
(
Log
$log
)
{
$log
->
useFiles
(
storage_path
()
.
'/laravel.log'
);
}
/**
* Register the service provider.
*
* @return void
*/
public
function
register
()
{
//
}
}
config/app.php
View file @
c10ad626
...
@@ -99,7 +99,6 @@ return [
...
@@ -99,7 +99,6 @@ return [
* Application Service Providers...
* Application Service Providers...
*/
*/
'App\Providers\EventServiceProvider'
,
'App\Providers\EventServiceProvider'
,
'App\Providers\LogServiceProvider'
,
'App\Providers\RouteServiceProvider'
,
'App\Providers\RouteServiceProvider'
,
/*
/*
...
...
config/compile.php
View file @
c10ad626
...
@@ -16,7 +16,6 @@ return [
...
@@ -16,7 +16,6 @@ return [
'files'
=>
[
'files'
=>
[
__DIR__
.
'/../app/Providers/EventServiceProvider.php'
,
__DIR__
.
'/../app/Providers/EventServiceProvider.php'
,
__DIR__
.
'/../app/Providers/LogServiceProvider.php'
,
__DIR__
.
'/../app/Providers/RouteServiceProvider.php'
,
__DIR__
.
'/../app/Providers/RouteServiceProvider.php'
,
],
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment