removed unused code

This commit is contained in:
2022-05-27 09:49:23 +01:00
parent 9862e65ea9
commit a228ea5554
2 changed files with 1 additions and 4 deletions

View File

@ -3,10 +3,8 @@
namespace Drupal\opencase;
use \Drupal;
use Drupal\Core\Entity\EntityTypeManager;
use Drupal\Core\Entity\Query\QueryInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use RuntimeException;
class Utils {
@ -40,7 +38,7 @@ class Utils {
*/
public function getTidByName(string $name, string $vid):int {
if (empty($name) || empty($vid)) {
return 0;
return 0;
}
$properties = [
'name' => $name,