File tree Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " bnomei/kirby3-janitor" ,
33 "type" : " kirby-plugin" ,
4- "version" : " 3.10.0 " ,
4+ "version" : " 3.10.1 " ,
55 "license" : " MIT" ,
66 "homepage" : " https://github.com/bnomei/kirby3-janitor" ,
77 "description" : " Kirby 3 Plugin for running commands like cleaning the cache from within the Panel, PHP code or a cronjob" ,
Original file line number Diff line number Diff line change 6565 // append model
6666 if ($ this ->model () instanceof Page) {
6767 $ uuid = !empty ($ uuid ) ? 'page:// ' . $ uuid : null ;
68- $ command .= ' --page ' . $ uuid ?? $ this ->model ()->id ();
68+ $ command .= ' --page ' . ( $ uuid ?? $ this ->model ()->id () );
6969 } elseif ($ this ->model () instanceof File) {
7070 $ uuid = !empty ($ uuid ) ? 'file:// ' . $ uuid : null ;
71- $ command .= ' --file ' . $ uuid ?? $ this ->model ()->id ();
71+ $ command .= ' --file ' . ( $ uuid ?? $ this ->model ()->id () );
7272 } elseif ($ this ->model () instanceof User) {
7373 $ uuid = !empty ($ uuid ) ? 'user:// ' . $ uuid : null ;
74- $ command .= ' --user ' . $ uuid ?? $ this ->model ()->id ();
74+ $ command .= ' --user ' . ( $ uuid ?? $ this ->model ()->id () );
7575 } elseif ($ this ->model () instanceof Site) {
7676 $ command .= ' --site ' ; // boolean argument
7777 }
78- $ command .= ' --model ' . $ uuid ??
79- ($ this ->model () instanceof Site ? 'site:// ' : $ this ->model ()->id ());
78+ $ command .= ' --model ' . (
79+ $ uuid ?? ($ this ->model () instanceof Site ? 'site:// ' : $ this ->model ()->id ())
80+ );
8081
8182 $ command .= ' --quiet ' ; // no STDOUT on frontend PHP
8283
Original file line number Diff line number Diff line change 11<?php return array (
22 'root ' => array (
33 'name ' => 'bnomei/kirby3-janitor ' ,
4- 'pretty_version ' => '3.10.0 ' ,
5- 'version ' => '3.10.0 .0 ' ,
4+ 'pretty_version ' => '3.10.1 ' ,
5+ 'version ' => '3.10.1 .0 ' ,
66 'reference ' => NULL ,
77 'type ' => 'kirby-plugin ' ,
88 'install_path ' => __DIR__ . '/../../ ' ,
1111 ),
1212 'versions ' => array (
1313 'bnomei/kirby3-janitor ' => array (
14- 'pretty_version ' => '3.10.0 ' ,
15- 'version ' => '3.10.0 .0 ' ,
14+ 'pretty_version ' => '3.10.1 ' ,
15+ 'version ' => '3.10.1 .0 ' ,
1616 'reference ' => NULL ,
1717 'type ' => 'kirby-plugin ' ,
1818 'install_path ' => __DIR__ . '/../../ ' ,
You can’t perform that action at this time.
0 commit comments