projects
/
GITManagedWebpage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3328709
)
fixed last commit
author
pk910
<philipp@zoelle1.de>
Sun, 6 Oct 2013 01:36:14 +0000
(
03:36
+0200)
committer
pk910
<philipp@zoelle1.de>
Sun, 6 Oct 2013 01:36:14 +0000
(
03:36
+0200)
GITManagedWebpage.class.php
patch
|
blob
|
history
diff --git
a/GITManagedWebpage.class.php
b/GITManagedWebpage.class.php
index 5b15d8cbf32293e6209683935ce3756d0628e306..2c429f96ed1a047e76a7f5c0f42739f078984cd9 100644
(file)
--- a/
GITManagedWebpage.class.php
+++ b/
GITManagedWebpage.class.php
@@
-291,9
+291,7
@@
class GITManagedWebpage {
return;
if(!$this->branchExists($branch)) {
return;
if(!$this->branchExists($branch)) {
- if($this->branchExists('origin/'.$branch))
- $branch = 'origin/'.$branch;
- else
+ if(!$this->branchExists('origin/'.$branch))
return false;
}
$this->setActiveBranch($branch, $remember);
return false;
}
$this->setActiveBranch($branch, $remember);