- Timestamp:
- 01/22/12 19:38:41 (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WorkflowPlugin/lib/Foswiki/Plugins/WorkflowPlugin.pm
r13767 r13783 662 662 return unless $controlledTopic; 663 663 664 unless ( $controlledTopic->can Edit() ) {664 unless ( $controlledTopic->canSave() ) { 665 665 throw Foswiki::OopsException( 666 666 'accessdenied', … … 743 743 $stateChangeInfo{WORKFLOWPENDINGACTION} ); 744 744 } 745 elsif ( !$controlledTopic->can Edit() ) {745 elsif ( !$controlledTopic->canSave() ) { 746 746 747 747 # Not a state change, make sure the AllowEdit in the state table
Note: See TracChangeset
for help on using the changeset viewer.
