diff options
author | nodiscc <nodiscc@gmail.com> | 2015-06-26 22:03:10 +0200 |
---|---|---|
committer | nodiscc <nodiscc@gmail.com> | 2015-06-26 22:03:10 +0200 |
commit | 2fbadc3c631e0c7e32b9b956fb5551822729bc33 (patch) | |
tree | 1325de9b3e2c83bc501ab7a977fcbd0fbe4490d5 /tests/utils/ReferenceLinkDB.php | |
parent | da9b0e3e807f05831c00b2f02a16b76eafbb6743 (diff) | |
parent | 9c8752a2061e67c719125edb6e0d6717d1af8553 (diff) | |
download | Shaarli-2fbadc3c631e0c7e32b9b956fb5551822729bc33.tar.gz Shaarli-2fbadc3c631e0c7e32b9b956fb5551822729bc33.tar.zst Shaarli-2fbadc3c631e0c7e32b9b956fb5551822729bc33.zip |
Merge remote-tracking branch 'virtualtam/linkdb/remove-globals'
Diffstat (limited to 'tests/utils/ReferenceLinkDB.php')
-rw-r--r-- | tests/utils/ReferenceLinkDB.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/utils/ReferenceLinkDB.php b/tests/utils/ReferenceLinkDB.php index 2cb05bae..59ba671f 100644 --- a/tests/utils/ReferenceLinkDB.php +++ b/tests/utils/ReferenceLinkDB.php | |||
@@ -93,11 +93,11 @@ class ReferenceLinkDB | |||
93 | /** | 93 | /** |
94 | * Writes data to the datastore | 94 | * Writes data to the datastore |
95 | */ | 95 | */ |
96 | public function write($filename, $prefix, $suffix) | 96 | public function write($filename) |
97 | { | 97 | { |
98 | file_put_contents( | 98 | file_put_contents( |
99 | $filename, | 99 | $filename, |
100 | $prefix.base64_encode(gzdeflate(serialize($this->links))).$suffix | 100 | '<?php /* '.base64_encode(gzdeflate(serialize($this->links))).' */ ?>' |
101 | ); | 101 | ); |
102 | } | 102 | } |
103 | 103 | ||