From 127d1a1c43ffa12db0d68fa3dfd9781c6e5b4480 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sun, 12 Aug 2012 13:29:56 +0000
Subject: [PATCH] Metoda sendPullResponse() odwołuje się teraz bezpośrednio do metody getGG()

---
 class/BotAPIGG.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/class/BotAPIGG.php b/class/BotAPIGG.php
index c8108e1..b08003f 100644
--- a/class/BotAPIGG.php
+++ b/class/BotAPIGG.php
@@ -44,7 +44,7 @@
 }
 
 class BotAPIGG extends config {
-	private $token;
+	private static $token;
 	
 	const STATUS_DOSTEPNY = 2;
 	const STATUS_DOSTEPNY_DESC = 4;
@@ -189,7 +189,7 @@
 		return $tok;
 	}
 	
-	function existsImage() {
+	function existsImage($hash) {
 		$auth = $this->APIs['Gadu-Gadu'];
 		$token = $this->getToken();
 		

--
Gitblit v1.9.1