diff options
| author | lsces <lester@lsces.co.uk> | 2016-02-07 17:44:38 +0000 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2016-02-07 17:44:38 +0000 |
| commit | 48d38bcee6e51e54102c85cabb2f5b94a819a03c (patch) | |
| tree | 3ad8d7370c6a0ffc301b407f56270e1bb0b4c89f /page_watches.php | |
| parent | 5f2e82a1fb1803fcc79fd31bd0f318f3661d639c (diff) | |
| download | wiki-48d38bcee6e51e54102c85cabb2f5b94a819a03c.tar.gz wiki-48d38bcee6e51e54102c85cabb2f5b94a819a03c.tar.bz2 wiki-48d38bcee6e51e54102c85cabb2f5b94a819a03c.zip | |
Move from Smarty2 to Smarty3 function style
Diffstat (limited to 'page_watches.php')
| -rw-r--r-- | page_watches.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/page_watches.php b/page_watches.php index 6125b4c..485bf88 100644 --- a/page_watches.php +++ b/page_watches.php @@ -40,8 +40,8 @@ if( !empty( $gContent->mPageId ) ) { $event = 'wiki_page_changed'; $watches = $gBitUser->get_event_watches($event, $gContent->mPageId); - $gBitSmarty->assign_by_ref('watches', $watches); - $gBitSmarty->assign_by_ref( 'pageInfo', $gContent->mInfo ); + $gBitSmarty->assignByRef('watches', $watches); + $gBitSmarty->assignByRef( 'pageInfo', $gContent->mInfo ); } // Display the template |
