Subversion Repositories eFlore/Applications.cel

Rev

Rev 2414 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2414 Rev 2436
Line 57... Line 57...
57
			}
57
			}
58
		}
58
		}
59
	}
59
	}
Line 60... Line 60...
60
 
60
 
61
	private function genererMiniaturesEnAttente() {
61
	private function genererMiniaturesEnAttente() {
-
 
62
		$requete = 'SELECT id_image '.
62
		$req = "SELECT id_image FROM cel_images WHERE ".
63
			'FROM cel_images '.
63
			"date_creation >= DATE_SUB(NOW(), INTERVAL 15 MINUTE)";
64
			'WHERE date_creation >= DATE_SUB(NOW(), INTERVAL 15 MINUTE)';
Line 64... Line 65...
64
		$images_attente = $this->bdd->recupererTous($req);
65
		$images_attente = $this->bdd->recupererTous($requete);
65
 
66
 
66
		if (!empty($images_attente)) {
67
		if (!empty($images_attente)) {
67
			// iterer sur config pour formats
68
			// iterer sur config pour formats