diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-12-22 15:41:47 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-12-22 15:41:47 -0800 |
commit | bdd7c68ede05d46ba758b0ab3e04b46202d761af (patch) | |
tree | 77674ca13e2bd14e6c0379b806bf20ed98ed4368 /modules/gallery_unit_test/helpers/diff.php | |
parent | d711c5b9300a17e7269415573a15e8a63f0d149c (diff) |
Fix some function definitions (they should be static)
Diffstat (limited to 'modules/gallery_unit_test/helpers/diff.php')
-rw-r--r-- | modules/gallery_unit_test/helpers/diff.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery_unit_test/helpers/diff.php b/modules/gallery_unit_test/helpers/diff.php index 1ea16fa6..7b573732 100644 --- a/modules/gallery_unit_test/helpers/diff.php +++ b/modules/gallery_unit_test/helpers/diff.php @@ -18,7 +18,7 @@ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ class diff_Core { - public function compare($a, $b) { + static function compare($a, $b) { fwrite(fopen($a_name = tempnam("/tmp", "test"), "w"), $a); fwrite(fopen($b_name = tempnam("/tmp", "test"), "w"), $b); return `diff $a_name $b_name`; |