Browse Source

Fix BlockRegex CRUD. mydnshost/mydnshost-api#127

Shane Mc Cormack 4 years ago
parent
commit
c6728e4148
1 changed files with 1 additions and 11 deletions
  1. 1 11
      src/MyDNSHostAPI.php

+ 1 - 11
src/MyDNSHostAPI.php

@@ -1112,16 +1112,6 @@
 			return $this->api('/admin/articles/' . $articleid, 'DELETE');
 		}
 
-		/**
-		 * Get blockregexes.
-		 *
-		 * @return Result from the API.
-		 */
-		public function getBlockRegexes() {
-			$result = $this->api('/blockregexes');
-			return isset($result['response']) ? $result['response'] : [];
-		}
-
 		/**
 		 * Get all blockregexes.
 		 *
@@ -1135,7 +1125,7 @@
 		}
 
 		/**
-		 * Crate a new blockregex.
+		 * Create a new blockregex.
 		 *
 		 * @param $data Data for create
 		 * @return Result from the API.