 			prefix = 'a:' + idapp
 			providers_key = prefix + ':providers'
 			env.data.redis.smembers providers_key, (err, providers) ->
-				console.log err if err
 				return callback err if err
 				if providers?.length > 0
 					callback null, providers

	# get the app infos by its id
	App.getByOwner = (owner_id, callback) ->
		env.data.redis.smembers 'u:' + owner_id + ':apps', (err, app_ids) ->
			apps = []
			async.eachSeries app_ids, (id, next) ->
				env.data.App.getById id
					.then (app) ->
						apps.push app.props
						next()
					.fail (e) ->
						next e
				, (err) ->
					return callback err if err
					callback null, apps




						backend.value = JSON.parse(replies[6])
					catch e
						backend.value = {}
				server_side_only = backend?.name? and not backend.value?.client_side
				callback null, id:idapp, name:replies[0], key:replies[1], secret:replies[2], date:replies[3], owner: replies[4], server_side_only: server_side_only, backend: backend

	# update app infos
