diff --git a/CHANGELOG.md b/CHANGELOG.md index 527cd0dd6..28ea97037 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ #Change Log All notable changes to this project starting with the 0.6.0 release will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org) +## MASTER +### Added +- New field `frozen` appears in `sites list` when a site belonging to your user has been frozen. (#1015) + ## [0.11.1] - 2016-03-30 ### Added - New command `site drush-version` to check the Drush version number of any or all environments. (#1001) diff --git a/php/Terminus/Caches/SitesCache.php b/php/Terminus/Caches/SitesCache.php index 138003204..17cbd0a8e 100644 --- a/php/Terminus/Caches/SitesCache.php +++ b/php/Terminus/Caches/SitesCache.php @@ -334,6 +334,7 @@ private function getSiteData($response_data, $membership_data = array()) { $site_data = [ 'id' => null, 'name' => null, + 'frozen' => null, 'label' => null, 'created' => null, 'framework' => null, diff --git a/php/Terminus/Commands/SitesCommand.php b/php/Terminus/Commands/SitesCommand.php index 51534815b..cdd1d4a43 100755 --- a/php/Terminus/Commands/SitesCommand.php +++ b/php/Terminus/Commands/SitesCommand.php @@ -279,6 +279,9 @@ public function index($args, $assoc_args) { 'created' => date('Y-m-d H:i:s', $site->get('created')), 'memberships' => $memberships, ]; + if ($site->get('frozen')) { + $rows[$site->get('id')]['frozen'] = true; + } } usort(