-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cb23f65
commit 548347f
Showing
15 changed files
with
691 additions
and
679 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"workbench.colorCustomizations": { | ||
"editor.selectionHighlightBackground": "#c50042e0", | ||
"editor.wordHighlightStrongBackground": "#c5000056", | ||
"editorLink.activeForeground": "#5086d6", | ||
"editor.foldBackground": "#0d180ea2", | ||
"editorGutter.foldingControlForeground": "#ff9203e0", | ||
"activityBar.background": "#4C2017", | ||
"titleBar.activeBackground": "#6B2D21", | ||
"titleBar.activeForeground": "#FDF9F8" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
<?php | ||
|
||
namespace Darkraul79\Activitylog; | ||
namespace Darkraul79\activityLogCAmpus; | ||
|
||
use Illuminate\Config\Repository; | ||
|
||
class ActivityLogStatus | ||
{ | ||
protected $enabled = true; | ||
protected $enabled = true; | ||
|
||
public function __construct(Repository $config) | ||
{ | ||
$this->enabled = $config['activitylog.enabled']; | ||
} | ||
public function __construct(Repository $config) | ||
{ | ||
$this->enabled = $config['activitylog.enabled']; | ||
} | ||
|
||
public function enable(): bool | ||
{ | ||
return $this->enabled = true; | ||
} | ||
public function enable(): bool | ||
{ | ||
return $this->enabled = true; | ||
} | ||
|
||
public function disable(): bool | ||
{ | ||
return $this->enabled = false; | ||
} | ||
public function disable(): bool | ||
{ | ||
return $this->enabled = false; | ||
} | ||
|
||
public function disabled(): bool | ||
{ | ||
return $this->enabled === false; | ||
} | ||
public function disabled(): bool | ||
{ | ||
return $this->enabled === false; | ||
} | ||
} |
Oops, something went wrong.