summaryrefslogtreecommitdiffstats
path: root/php-bartlett-PHP-CompatInfo-4.0.0-pr163.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-02-12 15:31:58 +0100
committerRemi Collet <fedora@famillecollet.com>2015-02-12 15:31:58 +0100
commit67ad49830a6fd94588562d124a6d09729827b764 (patch)
tree7bf6ea1f00f9190490a74ff3be9aef3646c29249 /php-bartlett-PHP-CompatInfo-4.0.0-pr163.patch
parent7862b74c06124a13bf41b9a24c2419ea6a58499f (diff)
php-bartlett-PHP-CompatInfo: 4.0.0beta1
Diffstat (limited to 'php-bartlett-PHP-CompatInfo-4.0.0-pr163.patch')
-rw-r--r--php-bartlett-PHP-CompatInfo-4.0.0-pr163.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/php-bartlett-PHP-CompatInfo-4.0.0-pr163.patch b/php-bartlett-PHP-CompatInfo-4.0.0-pr163.patch
deleted file mode 100644
index 710947a..0000000
--- a/php-bartlett-PHP-CompatInfo-4.0.0-pr163.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 2154b3581ec69bd38bfbc68fe355e6383756ec8f Mon Sep 17 00:00:00 2001
-From: Remi Collet <fedora@famillecollet.com>
-Date: Tue, 20 Jan 2015 10:28:07 +0100
-Subject: [PATCH] allow to set compatinfo.sqlite path using
- BARTLETT_COMPATINFO_DB
-
----
- src/Bartlett/CompatInfo/Environment.php | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/src/Bartlett/CompatInfo/Environment.php b/src/Bartlett/CompatInfo/Environment.php
-index e50eec5..c10ef97 100644
---- a/src/Bartlett/CompatInfo/Environment.php
-+++ b/src/Bartlett/CompatInfo/Environment.php
-@@ -22,6 +22,10 @@ class Environment
- */
- public static function initRefDb()
- {
-+ if ($database = getenv('BARTLETT_COMPATINFO_DB')) {
-+ return new \PDO('sqlite:' . $database);
-+ }
-+
- $database = 'compatinfo.sqlite';
- $tempDir = sys_get_temp_dir() . '/bartlett';
-