Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove remaining cake_dev domain
  • Loading branch information
bcrowe committed Jul 25, 2014
1 parent 435d442 commit 815ad1c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Network/Email/Email.php
Expand Up @@ -616,7 +616,7 @@ protected function _validateEmail($email) {
} elseif (preg_match($this->_emailPattern, $email)) {
return;
}
throw new Error\SocketException(__d('cake_dev', 'Invalid email: "%s"', $email));
throw new Error\SocketException(sprintf('Invalid email: "%s"', $email));
}

/**
Expand Down
5 changes: 1 addition & 4 deletions src/Network/Response.php
Expand Up @@ -1334,10 +1334,7 @@ public function file($path, array $options = array()) {
);

if (strpos($path, '..') !== false) {
throw new Error\NotFoundException(__d(
'cake_dev',
'The requested file contains `..` and will not be read.'
));
throw new Error\NotFoundException('The requested file contains `..` and will not be read.');
}

if (!is_file($path)) {
Expand Down
2 changes: 1 addition & 1 deletion src/Template/Error/missing_layout.ctp
Expand Up @@ -20,7 +20,7 @@
</p>

<p>
<?php echo __d('cake_dev', 'Confirm you have created the file: %s', h($file)); ?>
<?= sprintf('Confirm you have created the file: %s', h($file)); ?>
in one of the following paths:
</p>
<ul>
Expand Down

0 comments on commit 815ad1c

Please sign in to comment.