From f19b96cbd95cfd34fae2eda435bb610fbcdce1b1 Mon Sep 17 00:00:00 2001 From: florenttorregrosa Date: Thu, 1 Dec 2016 17:51:39 +0100 Subject: [PATCH] Issue #2832161 by Grimreaper: Remove hosting_package_node_load() --- package/hosting_package.module | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/package/hosting_package.module b/package/hosting_package.module index b035f08..15b1a1b 100644 --- a/package/hosting_package.module +++ b/package/hosting_package.module @@ -40,21 +40,6 @@ function hosting_package_node_info() { } /** - * @todo document this function - */ -function hosting_package_node_load($arg) { - if (!is_numeric($arg)) { - return FALSE; - } - if ($node = node_load($arg)) { - if (in_array($node->type, array('site', 'platform'))) { - return $node; - } - } - return FALSE; -} - -/** * Implements hook_permission(). */ function hosting_package_permission() { -- 1.9.1