diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-07-06 12:10:46 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-07-06 12:10:46 +0100 |
commit | 842ff2b00f4924f8580710c977ccce7bef33b0c2 (patch) | |
tree | e2ab4fda5a811b214fb4f501208f98f07a2c3c41 /perllib/FixMyStreet/Cobrand/Default.pm | |
parent | deb369669b540f607e435390f4606b927569dded (diff) |
Factor out the SQL restriction from site_restriction, as it's only used in one place.
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/Default.pm')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Default.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Default.pm b/perllib/FixMyStreet/Cobrand/Default.pm index b06c534ac..aabf708f8 100644 --- a/perllib/FixMyStreet/Cobrand/Default.pm +++ b/perllib/FixMyStreet/Cobrand/Default.pm @@ -50,7 +50,8 @@ empty string and site key 0 if the cobrand uses all the data. =cut -sub site_restriction { return ( "", 0, {} ) } +sub site_restriction { return ( 0, {} ) } +sub sql_restriction { return ""; } =head2 restriction |