Révision 8be7bf84
Ajouté par Assos Assos il y a plus de 5 ans
drupal7/sites/all/modules/views/drush/views.drush.inc | ||
---|---|---|
119 | 119 |
* Callback function for views-revert command. |
120 | 120 |
*/ |
121 | 121 |
function views_revert_views() { |
122 |
$args = func_get_args(); |
|
123 |
// The provided views names specified in the command. |
|
124 |
$viewnames = _convert_csv_to_array($args); |
|
122 | 125 |
$views = views_get_all_views(); |
123 | 126 |
$i = 0; |
124 |
// The provided views names specified in the command. |
|
125 |
$viewnames = _convert_csv_to_array(func_get_args()); |
|
126 | 127 |
|
127 | 128 |
// Find all overridden views. |
128 | 129 |
foreach ($views as $view) { |
Formats disponibles : Unified diff
Weekly update of contrib modules