X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Fmodules%2Fupdate%2Fupdate.module;fp=web%2Fcore%2Fmodules%2Fupdate%2Fupdate.module;h=0545aef8b9aea17776dfe468b5296b631fceabdb;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=32b5b8cc8779488712b4f4c41f0861d187ea5990;hpb=aea91e65e895364e460983b890e295aa5d5540a5;p=yaffs-website diff --git a/web/core/modules/update/update.module b/web/core/modules/update/update.module index 32b5b8cc8..0545aef8b 100644 --- a/web/core/modules/update/update.module +++ b/web/core/modules/update/update.module @@ -23,6 +23,8 @@ use Drupal\Core\Site\Settings; * * @deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.0. * Use \Drupal\update\UpdateManagerInterface::NOT_SECURE instead. + * + * @see https://www.drupal.org/node/2831620 */ const UPDATE_NOT_SECURE = 1; @@ -31,6 +33,8 @@ const UPDATE_NOT_SECURE = 1; * * @deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.0. * Use \Drupal\update\UpdateManagerInterface::REVOKED instead. + * + * @see https://www.drupal.org/node/2831620 */ const UPDATE_REVOKED = 2; @@ -39,6 +43,8 @@ const UPDATE_REVOKED = 2; * * @deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.0. * Use \Drupal\update\UpdateManagerInterface::NOT_SUPPORTED instead. + * + * @see https://www.drupal.org/node/2831620 */ const UPDATE_NOT_SUPPORTED = 3; @@ -47,6 +53,8 @@ const UPDATE_NOT_SUPPORTED = 3; * * @deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.0. * Use \Drupal\update\UpdateManagerInterface::NOT_CURRENT instead. + * + * @see https://www.drupal.org/node/2831620 */ const UPDATE_NOT_CURRENT = 4; @@ -55,6 +63,8 @@ const UPDATE_NOT_CURRENT = 4; * * @deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.0. * Use \Drupal\update\UpdateManagerInterface::CURRENT instead. + * + * @see https://www.drupal.org/node/2831620 */ const UPDATE_CURRENT = 5; @@ -63,6 +73,8 @@ const UPDATE_CURRENT = 5; * * @deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.0. * Use \Drupal\update\UpdateFetcherInterface::NOT_CHECKED instead. + * + * @see https://www.drupal.org/node/2831620 */ const UPDATE_NOT_CHECKED = -1; @@ -71,6 +83,8 @@ const UPDATE_NOT_CHECKED = -1; * * @deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.0. * Use \Drupal\update\UpdateFetcherInterface::UNKNOWN instead. + * + * @see https://www.drupal.org/node/2831620 */ const UPDATE_UNKNOWN = -2; @@ -79,6 +93,8 @@ const UPDATE_UNKNOWN = -2; * * @deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.0. * Use \Drupal\update\UpdateFetcherInterface::NOT_FETCHED instead. + * + * @see https://www.drupal.org/node/2831620 */ const UPDATE_NOT_FETCHED = -3; @@ -87,6 +103,8 @@ const UPDATE_NOT_FETCHED = -3; * * @deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.0. * Use \Drupal\update\UpdateFetcherInterface::FETCH_PENDING instead. + * + * @see https://www.drupal.org/node/2831620 */ const UPDATE_FETCH_PENDING = -4; @@ -349,7 +367,7 @@ function update_get_available($refresh = FALSE) { foreach ($projects as $key => $project) { // If there's no data at all, we clearly need to fetch some. if (empty($available[$key])) { - //update_create_fetch_task($project); + // update_create_fetch_task($project); \Drupal::service('update.processor')->createFetchTask($project); $needs_refresh = TRUE; continue;