@@ -22,6 +22,7 @@ discard block  | 
                                                    ||
| 22 | 22 | |
| 23 | 23 | /**  | 
                                                        
| 24 | 24 | * List items in a folder  | 
                                                        
| 25 | + * @param string $hash  | 
                                                        |
| 25 | 26 | */  | 
                                                        
| 26 | 27 | |
| 27 | 28 | |
@@ -34,6 +35,9 @@ discard block  | 
                                                    ||
| 34 | 35 | $result = $query -> execute();  | 
                                                        
| 35 | 36 | }  | 
                                                        
| 36 | 37 | |
| 38 | + /**  | 
                                                        |
| 39 | + * @param string $hash  | 
                                                        |
| 40 | + */  | 
                                                        |
| 37 | 41 |  	public function check($hash){
 | 
                                                        
| 38 | 42 | $sql = 'SELECT * from `*PREFIX*maps_adress_cache` where adres_hash=?';  | 
                                                        
| 39 | 43 | $query = $this -> db -> prepareQuery($sql);  |