summaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
authorUwe.Tews@googlemail.com <Uwe.Tews@googlemail.com>2013-07-15 18:18:28 +0000
committerUwe.Tews@googlemail.com <Uwe.Tews@googlemail.com>2013-07-15 18:18:28 +0000
commit584886cb1ce588320e22b90702b2dd9473bf4270 (patch)
tree5676a8aa792107d92de461e04e47595153a19d42 /demo
parent00ccae885723520147ae79549b95af9ef11ada98 (diff)
downloadsmarty-584886cb1ce588320e22b90702b2dd9473bf4270.tar.gz
smarty-584886cb1ce588320e22b90702b2dd9473bf4270.tar.bz2
smarty-584886cb1ce588320e22b90702b2dd9473bf4270.zip
- update code generated by PSR-2 standards fixer which introduced PHP 5.4 incompatibilities of 14.7.2013
Diffstat (limited to 'demo')
-rw-r--r--demo/plugins/cacheresource.mysql.php2
-rw-r--r--demo/plugins/resource.mysql.php2
-rw-r--r--demo/plugins/resource.mysqls.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/demo/plugins/cacheresource.mysql.php b/demo/plugins/cacheresource.mysql.php
index 29a24176..73771e7b 100644
--- a/demo/plugins/cacheresource.mysql.php
+++ b/demo/plugins/cacheresource.mysql.php
@@ -35,7 +35,7 @@ class Smarty_CacheResource_Mysql extends Smarty_CacheResource_Custom
public function __construct()
{
try {
- $this->db = new PDO("mysql:dbname=test;host=127.0.0.1", "smarty", "smarty");
+ $this->db = new PDO("mysql:dbname=test;host=127.0.0.1", "smarty");
} catch (PDOException $e) {
throw new SmartyException('Mysql Resource failed: ' . $e->getMessage());
}
diff --git a/demo/plugins/resource.mysql.php b/demo/plugins/resource.mysql.php
index 909059b3..af78394c 100644
--- a/demo/plugins/resource.mysql.php
+++ b/demo/plugins/resource.mysql.php
@@ -32,7 +32,7 @@ class Smarty_Resource_Mysql extends Smarty_Resource_Custom
public function __construct()
{
try {
- $this->db = new PDO("mysql:dbname=test;host=127.0.0.1", "smarty", "smarty");
+ $this->db = new PDO("mysql:dbname=test;host=127.0.0.1", "smarty");
} catch (PDOException $e) {
throw new SmartyException('Mysql Resource failed: ' . $e->getMessage());
}
diff --git a/demo/plugins/resource.mysqls.php b/demo/plugins/resource.mysqls.php
index a7d5be95..d16ad4b5 100644
--- a/demo/plugins/resource.mysqls.php
+++ b/demo/plugins/resource.mysqls.php
@@ -33,7 +33,7 @@ class Smarty_Resource_Mysqls extends Smarty_Resource_Custom
public function __construct()
{
try {
- $this->db = new PDO("mysql:dbname=test;host=127.0.0.1", "smarty", "smarty");
+ $this->db = new PDO("mysql:dbname=test;host=127.0.0.1", "smarty");
} catch (PDOException $e) {
throw new SmartyException('Mysql Resource failed: ' . $e->getMessage());
}