Changeset 93604 in spip-zone
- Timestamp:
- Dec 13, 2015, 11:09:48 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/indexer/trunk/spip-cli/IndexerIndexer.php
r93603 r93604 47 47 ->setName('indexer:dump') 48 48 ->setDescription('Récupérer les contenus indexés.') 49 ->addOption( 50 'index', 51 'i', 52 InputOption::VALUE_OPTIONAL, 53 'nom de l’index sphinx', 54 null 55 ) 49 56 ; 50 57 } … … 52 59 protected function execute(InputInterface $input, OutputInterface $output) { 53 60 include_spip('inc/indexer'); 54 indexer_dumpsql(); 61 62 $index = $input->getOption('index'); 63 64 indexer_dumpsql($index); 55 65 } 56 66 }
Note: See TracChangeset
for help on using the changeset viewer.