X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiProtect.php;h=d07301c520cb8270ab3b4c287397229c98dbc8fc;hb=1e296da3d7da4bf095ae228d7f5890f7ef520873;hp=22bd29cfa8e5b557ca55e7355632e0bca25a0a3f;hpb=fde7e03bed1236f9c3309bf4fb39745e58b6c5de;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiProtect.php b/includes/api/ApiProtect.php index 22bd29cfa8..d07301c520 100644 --- a/includes/api/ApiProtect.php +++ b/includes/api/ApiProtect.php @@ -56,7 +56,6 @@ class ApiProtect extends ApiBase { } $restrictionTypes = $titleObj->getRestrictionTypes(); - $db = $this->getDB(); $protections = array(); $expiryarray = array();