mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-10 17:29:18 -04:00
Fix some function definitions (they should be static)
This commit is contained in:
@@ -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`;
|
||||
|
||||
Reference in New Issue
Block a user