|
@@ 4300-4307 (lines=8) @@
|
| 4297 |
|
return ( $a['sort'] < $b['sort'] ) ? -1 : 1; |
| 4298 |
|
} |
| 4299 |
|
|
| 4300 |
|
function sync_reindex_trigger() { |
| 4301 |
|
if ( $this->current_user_is_connection_owner() && current_user_can( 'manage_options' ) ) { |
| 4302 |
|
echo json_encode( $this->sync->reindex_trigger() ); |
| 4303 |
|
} else { |
| 4304 |
|
echo '{"status":"ERROR"}'; |
| 4305 |
|
} |
| 4306 |
|
exit; |
| 4307 |
|
} |
| 4308 |
|
|
| 4309 |
|
function sync_reindex_status(){ |
| 4310 |
|
if ( $this->current_user_is_connection_owner() && current_user_can( 'manage_options' ) ) { |
|
@@ 4309-4316 (lines=8) @@
|
| 4306 |
|
exit; |
| 4307 |
|
} |
| 4308 |
|
|
| 4309 |
|
function sync_reindex_status(){ |
| 4310 |
|
if ( $this->current_user_is_connection_owner() && current_user_can( 'manage_options' ) ) { |
| 4311 |
|
echo json_encode( $this->sync->reindex_status() ); |
| 4312 |
|
} else { |
| 4313 |
|
echo '{"status":"ERROR"}'; |
| 4314 |
|
} |
| 4315 |
|
exit; |
| 4316 |
|
} |
| 4317 |
|
|
| 4318 |
|
/* Client API */ |
| 4319 |
|
|