Skip to content

Commit

Permalink
remove defined checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Puskás Zsolt committed Apr 5, 2018
1 parent 4470f69 commit 3c70c48
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion classes/Email.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php defined('SYSPATH') OR die('No direct access allowed.');
<?php

abstract class Email extends Kohana_Email {}
2 changes: 1 addition & 1 deletion classes/Email/Attachment.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php defined('SYSPATH') OR die('No direct access allowed.');
<?php

class Email_Attachment extends Kohana_Email_Attachment {}
2 changes: 1 addition & 1 deletion classes/Email/Exception.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php defined('SYSPATH') OR die('No direct script access.');
<?php

class Email_Exception extends Kohana_Email_Exception {}
2 changes: 1 addition & 1 deletion classes/Email/Phpmailer.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php defined('SYSPATH') OR die('No direct script access.');
<?php

class Email_Phpmailer extends Kohana_Email_Phpmailer {}
2 changes: 1 addition & 1 deletion classes/Email/Recipient.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php defined('SYSPATH') OR die('No direct access allowed.');
<?php

class Email_Recipient extends Kohana_Email_Recipient {}
2 changes: 1 addition & 1 deletion classes/Email/Swiftmailer.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php defined('SYSPATH') OR die('No direct script access.');
<?php

class Email_Swiftmailer extends Kohana_Email_Swiftmailer {}
2 changes: 1 addition & 1 deletion classes/Kohana/Email.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php defined('SYSPATH') OR die('No direct access allowed.');
<?php
/**
* Kohana Email abstraction module for Swiftmailer
*
Expand Down
2 changes: 1 addition & 1 deletion classes/Kohana/Email/Attachment.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php defined('SYSPATH') OR die('No direct access allowed.');
<?php

class Kohana_Email_Attachment {

Expand Down
2 changes: 1 addition & 1 deletion classes/Kohana/Email/Exception.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php defined('SYSPATH') OR die('No direct script access.');
<?php

class Kohana_Email_Exception extends Kohana_Exception {}
2 changes: 1 addition & 1 deletion classes/Kohana/Email/Phpmailer.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php defined('SYSPATH') OR die('No direct access allowed.');
<?php

class Kohana_Email_Phpmailer extends Email {

Expand Down
2 changes: 1 addition & 1 deletion classes/Kohana/Email/Recipient.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php defined('SYSPATH') OR die('No direct access allowed.');
<?php

class Kohana_Email_Recipient {

Expand Down
2 changes: 1 addition & 1 deletion classes/Kohana/Email/Swiftmailer.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php defined('SYSPATH') OR die('No direct access allowed.');
<?php

class Kohana_Email_Swiftmailer extends Email {

Expand Down
2 changes: 1 addition & 1 deletion config/email.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php defined('SYSPATH') OR die('No direct access allowed.');
<?php
return array(
/**
* Mailer type
Expand Down
2 changes: 1 addition & 1 deletion config/userguide.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php defined('SYSPATH') OR die('No direct script access.');
<?php

return array(
// Leave this alone
Expand Down
2 changes: 1 addition & 1 deletion init.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php defined('SYSPATH') or die('No direct script access.');
<?php

// Load mailers trough composer autoload
require_once Kohana::find_file('vendor', 'autoload');

0 comments on commit 3c70c48

Please sign in to comment.