# R34424 - /trunk/activesync/backend/egw.php

**URL:** <http://discourse.egroupware.org/t/r34424-trunk-activesync-backend-egw-php/46532>\
**Category:** eGW-svn\
**Created:** [March 28, 2011, 3:51pm UTC](http://discourse.egroupware.org/t/r34424-trunk-activesync-backend-egw-php/46532 "2011-03-28T15:51:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![p\_herbert](http://discourse.egroupware.org/letter_avatar_proxy/v4/letter/p/9de0a6/32.png) [@p\_herbert](http://discourse.egroupware.org/u/p_herbert)\
**Post date:** [March 28, 2011, 3:51pm UTC](http://discourse.egroupware.org/t/r34424-trunk-activesync-backend-egw-php/46532/1 "2011-03-28T15:51:45Z")

</div>

Author: p\_herbert  
New Revision: 34424

URL: [http://www.egroupware.org/viewvc/egroupware?rev=34424&view=rev](http://www.egroupware.org/viewvc/egroupware?rev=34424&view=rev)  
Log:  
prevent new instance for every call to plugin

Modified:  
trunk/activesync/backend/egw.php

# Modified: trunk/activesync/backend/egw.php URL: [http://www.egroupware.org/viewvc/egroupware/trunk/activesync/backend/egw.php?rev=34424&r1=34423&r2=34424&view=diff](http://www.egroupware.org/viewvc/egroupware/trunk/activesync/backend/egw.php?rev=34424&r1=34423&r2=34424&view=diff)

— trunk/activesync/backend/egw.php (original)  
+++ trunk/activesync/backend/egw.php Mon Mar 28 17:51:45 2011  
@@ -738,7 +738,7 @@  
\*/  
private function setup\_plugins()  
{

- 

```
  if (isset($plugins)) return;

```

- 

```
  if (isset($this->plugins)) return;

  $this->plugins = array();
  $apps = $GLOBALS['egw_info']['user']['apps'];

```

* * *

Create and publish websites with WebMatrix  
Use the most popular FREE web apps or write code yourself;  
WebMatrix provides all the features you need to develop and publish  
your website. [http://p.sf.net/sfu/ms-webmatrix-sf](http://p.sf.net/sfu/ms-webmatrix-sf)

* * *

eGroupWare-cvs mailing list  
[eGroupWare-cvs@lists.sourceforge.net](mailto:eGroupWare-cvs@lists.sourceforge.net)  
[https://lists.sourceforge.net/lists/listinfo/egroupware-cvs](https://lists.sourceforge.net/lists/listinfo/egroupware-cvs)
