Follow-up to r58633 and r58628 (lqt): Rename Title::getProtectionTypes to Title:...
[lhc/web/wiklou.git] / includes / api / ApiProtect.php
index d0fa3f2..221dc02 100644 (file)
@@ -69,7 +69,7 @@ class ApiProtect extends ApiBase {
                                $this->dieUsageMsg(array('toofewexpiries', count($expiry), count($params['protections'])));
                }
                
-               $restrictionTypes = $titleObj->getProtectionTypes();
+               $restrictionTypes = $titleObj->getRestrictionTypes();
                        
                $protections = array();
                $expiryarray = array();