Don't look for etags in the DB anymore.

This commit is contained in:
Michael Herzberg 2018-07-16 19:19:26 +01:00
parent 4b5cc276ee
commit a6173fe23e
1 changed files with 1 additions and 3 deletions

View File

@ -163,9 +163,7 @@ class MysqlBackend:
if (extid, date) in self.crx_etag_cache:
return self.crx_etag_cache[(extid, date)]
else:
return self.get_single_value(
"""SELECT crx_etag from extension where extid=%s and date=%s""",
(extid, date))
return None
def get_cdnjs_info(self, md5):
query = """SELECT library, version, filename, add_date, typ from cdnjs where md5=%s"""