summaryrefslogtreecommitdiffstats
path: root/app/class
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2018-07-24 06:07:05 -0400
committerMalf Furious <m@lfurio.us>2018-07-24 06:07:05 -0400
commit9e5ff3763ad4f8d62f410e57aa661675146ac863 (patch)
tree0a92cce1c9a2cdf77ee6e21a03babafd19d1e761 /app/class
parent3a5c526c38fc823e393330ae3f9dad74342b3f1f (diff)
downloadscrott-9e5ff3763ad4f8d62f410e57aa661675146ac863.tar.gz
scrott-9e5ff3763ad4f8d62f410e57aa661675146ac863.zip
Move $user page object scope
Since several routes will use the current $user as the PAGE_OBJECT, I'm just setting it once above most of the logic. Any route that needs something else can change it. There's a condition in the setPageObj() function that throws if we attempt to call it more than once. I'm thinking this can be removed it's not protecting from much.
Diffstat (limited to 'app/class')
0 files changed, 0 insertions, 0 deletions