utils/maintenance/GitHub.php
public static function delete_label(
		$project,
		$label,
		$args = []
	) {
		$request_url = sprintf(
			self::API_ROOT . 'repos/%s/labels/%s',
			$project,
			$label
		);

		$headers['http_verb'] = 'DELETE';

		list( $body, $headers ) = self::request( $request_url, $args, $headers );

		return $body;
	}
public static function delete_label(
		$project,
		$label,
		$args = []
	) {
		$request_url = sprintf(
			self::API_ROOT . 'repos/%s/labels/%s',
			$project,
			$label
		);

		$headers['http_verb'] = 'DELETE';

		list( $body, $headers ) = self::request( $request_url, $args, $headers );

		return $body;
	}
public static function delete_label ( $ project , $ label , $ args = [ ] ) { $ request_url = sprintf ( self :: API_ROOT . 'repos/%s/labels/%s' , $ project , $ label ) ; $ headers [ 'http_verb' ] = 'DELETE' ; list ( $ body , $ headers ) = self :: request ( $ request_url , $ args , $ headers ) ; return $ body ; }
Delete a label from a repository.

@param string $project
@param string $label
@param array  $args

@return array|false
Delete a label from a repository .