|
304 | 304 |
|
305 | 305 | if ( defined($configureclone) ) {
|
306 | 306 |
|
307 |
| - if ($db->setconfigureCloneHook($postrefresh)) { |
| 307 | + if ($db->setconfigureCloneHook($configureclone)) { |
308 | 308 | $ret = $ret + 1;
|
309 | 309 | last;
|
310 | 310 | }
|
|
313 | 313 |
|
314 | 314 |
|
315 | 315 | if ( defined($prerefresh) ) {
|
316 |
| - if ($db->setPreRefreshHook($postrefresh)) { |
| 316 | + if ($db->setPreRefreshHook($prerefresh)) { |
317 | 317 | $ret = $ret + 1;
|
318 | 318 | last;
|
319 | 319 | }
|
320 | 320 | }
|
321 | 321 |
|
322 | 322 | if ( defined($prerewind) ) {
|
323 |
| - if ($db->setPreRewindHook($postrefresh)) { |
| 323 | + if ($db->setPreRewindHook($prerewind)) { |
324 | 324 | $ret = $ret + 1;
|
325 | 325 | last;
|
326 | 326 | }
|
327 | 327 | }
|
328 | 328 |
|
329 | 329 | if ( defined($postrewind) ) {
|
330 |
| - if ($db->setPostRewindHook($postrefresh)) { |
| 330 | + if ($db->setPostRewindHook($postrewind)) { |
331 | 331 | $ret = $ret + 1;
|
332 | 332 | last;
|
333 | 333 | }
|
334 | 334 | }
|
335 | 335 |
|
336 | 336 | if ( defined($presnapshot) ) {
|
337 |
| - if ($db->setPreSnapshotHook($postrefresh)) { |
| 337 | + if ($db->setPreSnapshotHook($presnapshot)) { |
338 | 338 | $ret = $ret + 1;
|
339 | 339 | last;
|
340 | 340 | }
|
341 | 341 | }
|
342 | 342 |
|
343 | 343 | if ( defined($postsnapshot) ) {
|
344 |
| - if ($db->setPostSnapshotHook($postrefresh)) { |
| 344 | + if ($db->setPostSnapshotHook($postsnapshot)) { |
345 | 345 | $ret = $ret + 1;
|
346 | 346 | last;
|
347 | 347 | }
|
348 | 348 | }
|
349 | 349 |
|
350 | 350 | if ( defined($prestart) ) {
|
351 |
| - if ($db->setPreStartHook($postrefresh)) { |
| 351 | + if ($db->setPreStartHook($prestart)) { |
352 | 352 | $ret = $ret + 1;
|
353 | 353 | last;
|
354 | 354 | }
|
355 | 355 | }
|
356 | 356 |
|
357 | 357 | if ( defined($poststart) ) {
|
358 |
| - if ($db->setPostStartHook($postrefresh)) { |
| 358 | + if ($db->setPostStartHook($poststart)) { |
359 | 359 | $ret = $ret + 1;
|
360 | 360 | last;
|
361 | 361 | }
|
362 | 362 | }
|
363 | 363 |
|
364 | 364 | if ( defined($prestop) ) {
|
365 |
| - if ($db->setPreStopHook($postrefresh)) { |
| 365 | + if ($db->setPreStopHook($prestop)) { |
366 | 366 | $ret = $ret + 1;
|
367 | 367 | last;
|
368 | 368 | }
|
369 | 369 | }
|
370 | 370 |
|
371 | 371 | if ( defined($poststop) ) {
|
372 |
| - if ($db->setPostStopHook($postrefresh)) { |
| 372 | + if ($db->setPostStopHook($poststop)) { |
373 | 373 | $ret = $ret + 1;
|
374 | 374 | last;
|
375 | 375 | }
|
|
0 commit comments