Skip to content

Commit e71c4f9

Browse files
authored
Remove deprecated setFullRewrites method
Remove deprecated setFullRewrites method and log warning.
1 parent b4bc8a4 commit e71c4f9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

system/web/routing/Router.cfc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,13 @@ component
184184
function configure(){
185185
}
186186

187+
/**
188+
* Helper to avoid break issues when upgrading
189+
*/
190+
function setFullRewrites(){
191+
variables.log.warn( "The setFullRewrites() method on the router is removed and deprecated since version 6. Please do not use anymore" );
192+
}
193+
187194
/**
188195
* This method is called by the Routing Services to make sure the router is ready for operation.
189196
* This is ONLY called by the routing services and only ONCE in the Application Life-Cycle

0 commit comments

Comments
 (0)