mirror of https://github.com/zlatinb/muwire
unpublish method
parent
366a2ef841
commit
2b6565d107
|
@ -122,6 +122,11 @@ public class SharedFile {
|
|||
publishedTimestamp = timestamp;
|
||||
}
|
||||
|
||||
public void unpublish() {
|
||||
published = false;
|
||||
publishedTimestamp = 0;
|
||||
}
|
||||
|
||||
public boolean isPublished() {
|
||||
return published;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue