Skip to content

Commit

Permalink
Package errors fixes (missing pub_hooks & OnBeforeDocSave plugin event)
Browse files Browse the repository at this point in the history
  • Loading branch information
Romain committed Sep 25, 2011
1 parent 579e6eb commit b0993f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _build/data/events/events.resourcewatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

$events['OnBeforeDocFormSave']= $modx->newObject('modPluginEvent');
$events['OnBeforeDocFormSave']->fromArray(array(
'event' => 'OnDocFormSave',
'event' => 'OnBeforeDocFormSave',
'priority' => 0,
'propertyset' => 0,
),'',true,true);
Expand Down
2 changes: 1 addition & 1 deletion _build/data/transport.settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@

$settings['resourcewatcher.pub_hooks']= $modx->newObject('modSystemSetting');
$settings['resourcewatcher.pub_hooks']->fromArray(array(
'key' => 'resourcewatcher.new_hooks',
'key' => 'resourcewatcher.pub_hooks',
'value' => '',
'xtype' => 'textfield',
'namespace' => 'resourcewatcher',
Expand Down

0 comments on commit b0993f4

Please sign in to comment.