diff --git a/file/file.drush.inc b/file/file.drush.inc index b1fed7b415cb6b13d5d8106ab2c36861d7aba176..3dac7b7a461f3085158f0517975b470d820d445a 100644 --- a/file/file.drush.inc +++ b/file/file.drush.inc @@ -20,8 +20,7 @@ function file_drush_init() { } function file_drush_exit() { - // todo sync out to other servers - //provision_service('file')->sync(); + provision_service('file')->drush_exit(); } class provisionService_file extends provisionService { @@ -450,4 +449,10 @@ class provisionService_file extends provisionService { function _chgrp_recursive($path, $group) { return $this->_call_recursive('chgrp', $path, $group); } + + /** + * Stub for extensions that need to happen on exit, like syncing out to anther server. + */ + function drush_exit() { + } }